Skip to main content
Question

autocad_color in autocad_OD writer


thierry
Contributor
Forum|alt.badge.img+3

Hello,

Do you know why autocad_color parameter is allowed from 0 to 256 for Autodesk Autocad DWG/DWF writer but is strictely limited to 1-255 for Autodesk Autocad Map 3D Object Data writer ?
It prevents to write entities with ByLayer (256) or ByBlock (0) Color parameter in addition with OD tables

 

3 replies

AliAtSafe
Safer
Forum|alt.badge.img+22
  • Safer
  • August 8, 2024

Hi, @thierry.

Thank you for your post. After further inspection, this may be an issue (Filed [FMEENGINE-83754]). We will update you as soon as we get insights.

Thank you!


AliAtSafe
Safer
Forum|alt.badge.img+22
  • Safer
  • October 30, 2024

Hello, @thierry.

Thank you for your patience. This is the intended behavior of the ACAD writer. It seems that the one you are referencing here is an outdated or older version of the writer. We recommend updating to the newest version (what it looks like):

These settings are for defining a layer’s appearance. You can set the the color of an entity on a layer to be ByLayer or ByBlock, however in AutoCAD, layers must be given an actual color.

To write entity colours ByLayer, you could change the autocad_colour attribute for those specific entities.

Hope this helps!


thierry
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • April 8, 2025

Hello ​@AliAtSafe ,

I have no issue with the “Autodesk Autocad DWG/DXF” writer i.e [ACAD] :

I can write features with “default color” setting set to “Bylayer” (value 256) 

I have only  issue with the “Autodesk AutoCAD Map 3D Object Data” writer i.e [AUTOCAD_OD]  when i’m doing the same.

Here a simple workspace to show the problem :

 


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