How do I define a Color, Lineweight or Linetype for a Block to use it as attributes for entities ....
How do I define a Color etc. for a Block ....
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: How do I define a Color etc. for a Block ....
Hi,
the only way I found is to edit the block, select all, change color, and then close the block…
It would be easier to select the block and change the color, but that doesn't work for me.
the only way I found is to edit the block, select all, change color, and then close the block…
It would be easier to select the block and change the color, but that doesn't work for me.
Re: How do I define a Color etc. for a Block ....
Note that "By Block" actually strictly speaking means "By Block Reference". Unfortunately, the term 'block' in the context of CAD can mean a 'block definition' or a 'block reference'. Block definitions do not have attributes. They are not on a layer either. Each block reference is on a layer and has attributes.
1. Create a block definition with a line in it with its color set to 'By Block'.
2. Insert a block reference of that block.
3. Select that block reference and change its color in the property editor to observe what the attribute value 'By Block' does.
1. Create a block definition with a line in it with its color set to 'By Block'.
2. Insert a block reference of that block.
3. Select that block reference and change its color in the property editor to observe what the attribute value 'By Block' does.
Re: How do I define a Color etc. for a Block ....
OK, thank you ! Great discovery !
I rephrase in a simpler way (useful for me, maybe for others) :
1. draw something ;
2. select it ;
3. define properties to "By block" ;
4. group it into a block (block definition) ;
5. change the block properties (block reference) in the property editor, it works !
5'. let the block properties (block reference) default options ("By layer"), then move the block to another layer, and the block take the properties of the new layer… Nice !
Is it possible to have "By block" by default, instead of selecting that option for each new line I draw ?
I rephrase in a simpler way (useful for me, maybe for others) :
1. draw something ;
2. select it ;
3. define properties to "By block" ;
4. group it into a block (block definition) ;
5. change the block properties (block reference) in the property editor, it works !
5'. let the block properties (block reference) default options ("By layer"), then move the block to another layer, and the block take the properties of the new layer… Nice !
Is it possible to have "By block" by default, instead of selecting that option for each new line I draw ?
Re: How do I define a Color etc. for a Block ....
Have a look at the pen tool bar:aaa wrote:Is it possible to have "By block" by default, instead of selecting that option for each new line I draw ?
View > Toolbars > Pen
Re: How do I define a Color etc. for a Block ....
Incredible !
Each time I have a question, you have an answer, and there is a corresponding feature !
That's the tool I need.
Thank you !
Each time I have a question, you have an answer, and there is a corresponding feature !
That's the tool I need.
Thank you !