01 / 21

ByBlock Properties
& Block Standards

Master ByBlock color, linetype, and lineweight to create reusable, flexible block definitions that adapt to any drawing context.

AutoCAD

What Is a Block in AutoCAD?

A block is a collection of objects grouped into a single, named unit. Once defined, a block can be inserted multiple times throughout a drawing. Each insertion is called a block reference, and it points back to a single block definition.

Block Definition Reference 1 Reference 2 Reference 3 One definition, many references

Understanding Object Properties

Every AutoCAD object has three core visual properties. How you assign these properties inside a block definition determines how the block behaves when inserted.

Color
Controls the display color of lines, arcs, and other geometry on screen and in print.
Linetype
Defines the dash pattern: Continuous, Dashed, Center, Hidden, Phantom, and more.
Lineweight
Sets the printed thickness of each line, typically measured in millimeters.

Three Assignment Modes

Before diving into ByBlock, let's compare the three ways properties can be assigned to objects inside a block definition:

1
Explicit (e.g., Red, Dashed, 0.50mm): The object always shows that exact property, ignoring both the layer and the block reference settings.
2
ByLayer: The object inherits properties from the layer it currently resides on. When the block is inserted, objects on Layer 0 adopt the insertion layer's properties.
3
ByBlock: The object inherits properties from the block reference itself: whatever color, linetype, or lineweight is assigned to the inserted block.

The ByBlock Rule

Block Definition ByBlock ByBlock ByBlock Reference: Red Reference: Green Reference: Blue Same block, different look

ByBlock vs ByLayer

ByBlock ByLayer
Inherits from Block reference Current layer
Control level Per-insertion Per-layer
Flexibility High: each reference can differ Medium: tied to layer settings
Best for Symbols needing color variety Standard objects on named layers
Default display White (until reference is set) Matches layer property

Layer 0 and ByBlock Together

For maximum flexibility, best practice is to create block geometry on Layer 0 with properties set to ByBlock. Here is why this combination works:

1
Layer 0 is special: Objects on Layer 0 inside a block adopt the insertion layer when the block is inserted. This lets the block "live" on any layer.
2
ByBlock adds override power: Even after layer inheritance, individual properties can be overridden by the block reference's color, linetype, or lineweight.
3
Result: A block that is both layer-aware and property-flexible: the ideal reusable component.

Property Inheritance Flowchart

Object in Block Explicit value set? Yes Use Explicit No Set to ByBlock? Yes Use Block Reference No Set to ByLayer? Yes Use Layer No Default (White)

Why Block Standards Matter

Consistent block standards save time, reduce errors, and make collaboration possible. Without them, every team member reinvents the wheel.

Reusability
A well-built block works in any project without modification.
Consistency
Everyone on the team uses the same symbols, reducing miscommunication.
Efficiency
Smaller file sizes, faster edits, and fewer duplicated definitions.

Creating a ByBlock Standard Block

1
Set Layer 0 as current. All block geometry should be drawn on Layer 0 so it inherits the insertion layer.
2
Set Color to ByBlock. In the Properties panel, change Color from "ByLayer" to "ByBlock" before drawing.
3
Set Linetype to ByBlock. Similarly, change the linetype assignment to ByBlock for each object.
4
Set Lineweight to ByBlock. Ensure the lineweight also inherits from the block reference.
5
Run BLOCK command. Select the objects, define a base point, name the block, and save.
6
Insert and assign. Use INSERT, then set the reference's color, linetype, and lineweight as needed.

Example 1: Electrical Outlet Symbol

An electrical outlet symbol is created on Layer 0 with all properties set to ByBlock. Watch how it adapts:

Electrical Layer Color: Cyan Furniture Layer Color: Yellow Red Override Color: Red Same Block Definition, Three Different Appearances

Example 2: Mixed-Property Block

Sometimes you want part of a block to stay fixed while other parts adapt. Consider a door symbol:

Block Definition ByBlock ByBlock Explicit Inserted (Green Ref) Stays White Turns Green

Example 3: Nested Blocks & ByBlock

When blocks contain other blocks (nested blocks), ByBlock behavior follows the immediate parent reference:

Outer Block (Color: Red) Inner Block A (ByBlock objects) Displays: Red Inner Block B (Explicit Blue objects) Displays: Blue ByBlock propagates one level; Explicit stays fixed

Block Naming Conventions

A consistent naming scheme is a cornerstone of block standards. Everyone on the team should be able to find and identify blocks by name alone.

1
Use a prefix for discipline: E- for Electrical, M- for Mechanical, A- for Architectural (e.g., E-OUTLET-DUPLEX).
2
Describe the object: The middle part should clearly state what the block represents (e.g., DOOR, VALVE, OUTLET).
3
Add a variant suffix: Differentiate sizes or types (e.g., A-DOOR-36, A-DOOR-30, M-VALVE-GATE).
4
Avoid spaces and special characters: Use hyphens or underscores. Keep names uppercase for cross-platform compatibility.

Common Mistakes

✕ Not Using Layer 0
Placing block geometry on a named layer fixes its layer association. For a block to inherit its insertion layer, its contents must be on Layer 0.
✕ Leaving ByLayer Active
Forgetting to switch properties to ByBlock before drawing. The objects will inherit layer settings instead of block reference settings.
✕ Mixing Without Intention
Accidentally using Explicit, ByLayer, and ByBlock in the same block without a deliberate strategy leads to unpredictable results.

Summary Reference Table

Property Mode Inherits From When to Use
Explicit Nothing (fixed) Elements that must never change
ByLayer Object's layer Standard drafting, non-block objects
ByBlock Block reference Reusable blocks needing flexibility
Layer 0 + ByBlock Insertion layer + reference Maximum adaptability (best practice)

Question 1 of 5

When an object inside a block definition has its color set to ByBlock, what determines the object's displayed color?

Question 2 of 5

Which layer should block geometry be drawn on for maximum flexibility?

Question 3 of 5

In a nested block scenario, ByBlock objects in the inner block inherit their properties from:

Question 4 of 5

A block contains a circle with Explicit Red color and a line with ByBlock color. The block is inserted and the reference is set to Green. What colors display?

Question 5 of 5

Which block naming convention follows professional CAD standards?