I want to have RGB color out put from Autodesk DWG file. After exposing fme_color attribute the output contains different value. e.g. AutoCAD Color Index(ACI) value 92 and after reading it in FME I get value of (0,0.65,0) . If you look in AutoCAD the value should be (0,165,0)
Solved
How to convert autocad color to RGB (Integer)
Best answer by rahulsharma
Hi @spinaltapping, to further add onto how to do this please find an attached template that uses 2 methods.
- Use AttributeSplitter to generate the list.
- Using AttributeManager and Arithmetic equation to calculate RGB
AutoCAD_Color_to_RGB.fmwt
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.