From a QCAD user:
Is it possible to change the color of entities which are part of a library item or block when the layer of the inserted block reference changes.
Libraries, blocks,
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Libraries, blocks,
Yes.
Creating the library item:
- Draw your library item like any other drawing in QCAD.
- Set the color of the entities with adjustable color to "ByBlock".
- Save the drawing into a library directory.
Using the library item:
- Insert the item into a drawing. For the inserted block reference, use the color attribute "ByLayer" (default).
How it works:
- Each entity with color set to "ByBlock" inherits its color from the block reference it is a part of.
- The block reference inherits its color from the layer it is on.
Creating the library item:
- Draw your library item like any other drawing in QCAD.
- Set the color of the entities with adjustable color to "ByBlock".
- Save the drawing into a library directory.
Using the library item:
- Insert the item into a drawing. For the inserted block reference, use the color attribute "ByLayer" (default).
How it works:
- Each entity with color set to "ByBlock" inherits its color from the block reference it is a part of.
- The block reference inherits its color from the layer it is on.