Skip to main content
Solved

Original Color from Civil 3D DWG file changed to black/white

  • February 15, 2024
  • 7 replies
  • 127 views

myadegaryiutac
Contributor
Forum|alt.badge.img+9

Hi,

I am converting a Civil 3D DWG file to GDB. However, once I read the DWG file, the colors appear to be changed to black and white. I attempted to use DWGStyler, but the colors are still not reverting to their original state. I've checked the Reader Parameters to ensure that "Resolve Entity Color" is selected. Could someone please assist me?

1 more thing that I found is that, once I use autocad_color or fme_color in DWGStyler the values disappear. 

 

Thanks in advance

Best answer by daveatsafe

FME’s colors do not apply to features with Surface or Solid geometry. For these, you must set appearances on the feature with an AppearanceSetter.

The Civil 3D reader seems to add the appropriate appearances to the Structure 3D features, but not the Pipe or Pressure Pipe 3D features. You can add these appearances using the following process:

 

View original
Did this help you find an answer to your question?

7 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • February 15, 2024

FME’s colors do not apply to features with Surface or Solid geometry. For these, you must set appearances on the feature with an AppearanceSetter.

The Civil 3D reader seems to add the appropriate appearances to the Structure 3D features, but not the Pipe or Pressure Pipe 3D features. You can add these appearances using the following process:

 


myadegaryiutac
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • February 16, 2024

thanks @daveatsafe  for your response.

I set the AttributeExposer, AppearanceStyler but once I wanna use AppearanceSetter and set the color to fme_color, it looks like the only option I have for that is User Parameter 


myadegaryiutac
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • February 16, 2024

@daveatsafe here is the screenshot 


myadegaryiutac
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • February 16, 2024

I was trying to assign a simple color and run just to make sure if it works or not, that I received the following error

 

Unmatched reference encountered in 'C:/Users/Temp/

wb-cache-DWG to GDB-zLKVew/Main_AppearanceSetter -1 61 fo 0 OUTPUT  0  0ed5a1cb74c6d24072d51b65722dd680f03446ba.ffs'.  It could be that a FFS file is missing the associated FRS file.
An error has occurred. Check the logfile above for details
Failed to read features
 


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 16, 2024

You don’t have to set the color in the AppearanceSetter. The appearance created by the AppearanceStyler will supply that for you. Please leave the color settings in the AppearanceSetter untouched.


myadegaryiutac
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • February 16, 2024
daveatsafe wrote:

You don’t have to set the color in the AppearanceSetter. The appearance created by the AppearanceStyler will supply that for you. Please leave the color settings in the AppearanceSetter untouched.

Thanks @daveatsafe for quick response

I am receiving these error 

Unmatched reference encountered in 'C:/Users/***~1/AppData/Local/Temp/wb-cache-DWG to GDB-sADUOh/Main_AppearanceSetter -1 115 fo 0 OUTPUT  0  e1786f0d3f6eb1a9e96ba8d65789bb1158aed30c.ffs'.  It could be that a FFS file is missing the associated FRS file.
An error has occurred. Check the logfile above for details
Failed to read features

 

 


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 16, 2024

Please try turning off Feature Caching, from the Workbench top menu Run option, then try running the workspace again.


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