Skip to main content
Solved

DXF Overwrite color from Block-definition

  • 22 June 2017
  • 1 reply
  • 31 views

is it able to Change a Color from a Block-Definition, so that a Symbol gets a other color as defined in the Block-Definition.

I want to change the green Symbol from Blockdefinition to overwrite in blue Color

Best answer by fmelizard

Hi @dirk1964 thanks for asking this. It's a great question. Unfortunately FME cannot change the block definitions. The color of the features within the block look like they are set to green rather than 'ByBlock' This means that the lines in the block will always bee green regardless of the block color. You can however, modify the block definition in an AutoCAD template file and use this new definition when creating blocks (see example four of this article). When editing the block definition in AutoCAD you can choose the color of a feature in AutoCAD to have the same color of the block (color = ByBlock), that way when you set the color of the block with the DWGStyler it will be the color you chose (blue in your case).

 

 

You can also use FME to create new blocks from a group of aggregated features. The process a little more involved but indeed doable. Have a look into the Automatic Block Creation in the help here and other tips around blocks here
View original
Did this help you find an answer to your question?

1 reply

fmelizard
Contributor
Forum|alt.badge.img+16
  • Contributor
  • Best Answer
  • June 22, 2017

Hi @dirk1964 thanks for asking this. It's a great question. Unfortunately FME cannot change the block definitions. The color of the features within the block look like they are set to green rather than 'ByBlock' This means that the lines in the block will always bee green regardless of the block color. You can however, modify the block definition in an AutoCAD template file and use this new definition when creating blocks (see example four of this article). When editing the block definition in AutoCAD you can choose the color of a feature in AutoCAD to have the same color of the block (color = ByBlock), that way when you set the color of the block with the DWGStyler it will be the color you chose (blue in your case).

 

 

You can also use FME to create new blocks from a group of aggregated features. The process a little more involved but indeed doable. Have a look into the Automatic Block Creation in the help here and other tips around blocks here

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings