I am using QCAD 3.4.2 PRO under Windows 7.
Is it possible to change the attributes (i.e. Color and Linetype) of a block after is has been
inserted into a layer of the Model_Space? The block was created using multiple layers, each with their own attributes.
Thanks
Changing inserted block attributes
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: Changing inserted block attributes
Each entity gets its attributes (color, line weight, line type) from:
- the layer it is on (By Layer)
or
- the block reference (By Block)
or
- uses its own, fixed attributes
If you want to insert multiple instances of a block with different attributes, set the attributes of those entities to "By Block".
For example, if you have a block containing a rectangle with its color set to "By Block", you can set the color of one block reference to "Yellow" and another one to "Blue" to create one yellow and one blue rectangle.
You can also insert one rectangle on a green layer, setting the color of the block reference to "By Layer" to create a green rectangle. In this case, the entity gets its color from the block (By Block), but the block gets its color from the layer it is placed on (By Layer). If the layer happens to be green, the entity is shown in green.
- the layer it is on (By Layer)
or
- the block reference (By Block)
or
- uses its own, fixed attributes
If you want to insert multiple instances of a block with different attributes, set the attributes of those entities to "By Block".
For example, if you have a block containing a rectangle with its color set to "By Block", you can set the color of one block reference to "Yellow" and another one to "Blue" to create one yellow and one blue rectangle.
You can also insert one rectangle on a green layer, setting the color of the block reference to "By Layer" to create a green rectangle. In this case, the entity gets its color from the block (By Block), but the block gets its color from the layer it is placed on (By Layer). If the layer happens to be green, the entity is shown in green.
Re: Changing inserted block attributes
Clive just pointed out that you could also explode the block you want to have different attributes - but deleted his post again
Exploding is indeed the only way if your entities cannot have the 'By Block' attributes. This is for example the case if all entities need to have their attributes set to 'By Layer' for most block references, but only one block reference has to have different attributes. I cannot think of a more elegant solution for that situation than exploding that one block, setting its attributes and optionally create a new block from it.
Exploding is indeed the only way if your entities cannot have the 'By Block' attributes. This is for example the case if all entities need to have their attributes set to 'By Layer' for most block references, but only one block reference has to have different attributes. I cannot think of a more elegant solution for that situation than exploding that one block, setting its attributes and optionally create a new block from it.
Re: Changing inserted block attributes
@andrew: I was not aware of the 'By Block' attribute specifier. Thanks for your response and the work you put into QCAD.
Re: Changing inserted block attributes
Yes, my intention was to add extra content and to re-post..but time did not allow, anyways you've covered it now .andrew wrote:Clive just pointed out that you could also explode the block you want to have different attributes - but deleted his post again
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...
Re: Changing inserted block attributes
Oh, I see - sorry for interfering meanwhileYes, my intention was to add extra content and to re-post..but time did not allow, anyways you've covered it now .