ByBlock and ByLayer Properties (Preview)

Preview: this page describes the next FireCAD release, planned for December 1, and the beta available now. For the current release, see ByBlock and ByLayer Properties.

Commands

Command What it changes
ATSET_ALL_BYBLOCK Colors inside block definitions to ByBlock
ATSET_ALL_BYLAYER Colors inside block definitions to ByLayer
ATSET_ALL_LINEWEIGHTS_BYBLOCK Lineweights inside block definitions (see the note below)
ATSET_ALL_LINEWEIGHTS_BYLAYER Lineweights inside block definitions to ByLayer

Prerequisites

  • A drawing must be open

Overview

These commands clean up blocks that came from another source with hard-coded colors or lineweights, so the blocks take their appearance from where they are placed:

  • ByBlock: the entity takes the color of the block reference it is inside
  • ByLayer: the entity takes the color of its layer

What They Change

  • Only block definitions. The commands go through every block definition in the drawing and change the entities inside them. Entities drawn directly in model space or on layouts are not changed
  • FireCAD's own blocks are skipped. Blocks whose names start with amts are left alone
  • Color only, for the first two commands. Linetypes are not changed
  • Attributes stay ByBlock. ATSET_ALL_BYLAYER sets the geometry to ByLayer but sets attribute definitions and attributes to ByBlock, so attribute text still follows the block reference. ATSET_ALL_BYBLOCK sets attributes to ByBlock too

Note: in this release, ATSET_ALL_LINEWEIGHTS_BYBLOCK sets lineweights to ByLayer, the same as ATSET_ALL_LINEWEIGHTS_BYLAYER. Use it only if ByLayer lineweights are what you want.

Steps

  1. Type the command
  2. The block definitions are updated. Placed blocks show the change after the drawing regenerates (REGEN)

When to Use

  • Standardizing blocks in a drawing received from another company
  • Making device blocks follow the layer colors of your standard

Related Commands


FireCAD is the industry-leading AutoCAD add-in for fire alarm system design — from circuit layout to wire routing to code-compliant reports.
Learn more and get started at getfirecad.com →

Inspect Point Integration — Fire alarm system device lists and bill of materials can be pushed directly from FireCAD into Inspect Point, eliminating manual data entry and ensuring every device is ready for inspection scheduling and ongoing asset management.
Learn more here →

Was this article helpful?
0 out of 0 found this helpful