How Linetypes Work Inside Blocks and Dynamic Blocks

A block can contain linetype properties at several levels: the objects in the definition, the inserted block reference, and the layer on which that reference is placed. Dynamic and nested blocks add more levels, so changing one visible property does not always change the final result.

The reliable method is to trace inheritance from the deepest object outward.


Where Linetype Properties Exist in a Block

Objects Inside the Block Definition

Each line, polyline, arc, or other entity has its own Linetype property. It can be ByLayer, ByBlock, or a named direct assignment.

The Inserted Block Reference

The block reference itself has a layer and linetype property. Its linetype can influence internal objects set to ByBlock, but it does not automatically replace direct assignments.

The Layer Containing the Block

The insertion layer supplies properties when the reference or internal objects resolve through ByLayer. Layer 0 has special value in reusable block standards because ByLayer objects on layer 0 can inherit the insertion layer’s properties.


Linetypes Assigned ByLayer Inside Blocks

An internal object set to ByLayer uses the properties of its own definition layer. If it is on layer 0, its display can follow the block’s insertion layer. If it is on a named layer, it normally follows that named layer regardless of where the block is inserted.

Use the ByLayer, ByBlock, and direct-assignment guide for the conceptual rules; this article applies them to block structure.


Linetypes Assigned ByBlock Inside Blocks

A ByBlock object takes the property assigned to the inserted reference. If the block reference itself is ByLayer, the result then resolves through the insertion layer. This two-step inheritance is useful for symbols that must be recolored or retyped per insertion.


Direct Linetype Assignments Inside Blocks

A named linetype assigned directly to an internal object usually remains fixed. Changing the block reference’s linetype does not override it. Direct assignments are appropriate only when the pattern is intrinsic to the symbol and should not vary by project layer.


How the Block Reference Affects the Result

Block Reference Layer

The insertion layer matters for internal layer-0 objects and for references set to ByLayer. Moving the block to another layer can therefore change some components but not others.

Block Reference Linetype

This property controls internal ByBlock components. Assign a named linetype to the reference only when the block was authored to use that mechanism.

Block Reference Scale

Scaling the entire block changes the geometry length and can alter how many pattern cycles fit. It does not necessarily provide a clean substitute for the object’s Linetype scale, especially in complex patterns.


Linetypes in Nested Blocks

Multiple ByLayer Levels

A nested object may follow its own layer inside an inner block while the outer reference follows another layer. Document every named layer used in a library to prevent invisible dependencies.

Multiple ByBlock Levels

ByBlock behavior can pass through references, but a direct assignment at any intermediate level stops the chain. Test nested content rather than assuming the outermost reference controls everything.

Direct Assignments in Nested Content

A fixed linetype buried in a nested definition is a common reason a block refuses to match the current standard. Use Block Editor or REFEDIT to locate it.


Linetypes in Dynamic Blocks

Visibility States

Each state can expose different objects with different properties. Audit all states, including ones not visible in the default insertion.

Stretch Actions

Stretching changes segment lengths. Shortened components may no longer contain a complete pattern, while elongated components may show more cycles.

Array Actions

An array action duplicates geometry; it does not necessarily create one continuous path. Repeated short line objects can restart their patterns independently.

Lookup and Parameter Changes

Lookup choices can switch visibility, scale, or geometry. Include every configuration in the linetype QA test, particularly when a complex text pattern is used.


How Block Scaling Affects Linetype Appearance

Uniform Block Scale

Uniform scaling preserves proportions, but it changes the physical length of internal geometry. Depending on the display context, the repeated pattern can become denser or sparser relative to the block.

Non-Uniform Block Scale

Different X and Y factors distort geometry and can create inconsistent pattern appearance between horizontal, vertical, and diagonal components. Avoid non-uniform scaling for blocks that depend on precise complex linetypes.


Redefine a Block After Changing Its Linetypes

Edit the source definition, save it, and deliberately redefine or reinsert it in target drawings. Existing drawings can retain older block definitions and older linetype definitions with the same names. Use unique versioning or a controlled update process.


Diagnose Incorrect Linetypes Inside a Block

Inspect Objects in Block Editor

Check entity layer, Linetype, Linetype scale, and whether the object belongs to a dynamic state. Look for direct assignments that bypass the intended inheritance.

Check the Block Reference

Review the reference layer, linetype, scale, and dynamic properties. Compare with a newly inserted copy from the approved library.

Check the Insertion Layer

Confirm that the layer has the expected loaded definition and has not been overridden through an Xref or viewport.


Best Practices for Linetype-Safe Block Libraries

  • Use layer 0 and ByLayer for geometry intended to follow the insertion layer.
  • Use ByBlock only where per-reference control is intentional.
  • Limit direct assignments to intrinsic symbol linework.
  • Avoid non-uniform scaling for complex patterns.
  • Test every dynamic visibility and lookup state.
  • Include required custom LIN and SHX resources with the library.
  • Use the eTransmit and dependency checklist when sharing project drawings.
  • Document the expected insertion layer, scale, and property behavior.


Related Linetype Guides