Skip to main content

Hello. I have a question please. I have a DWG resource that I need to transform to SVG. I managed to export the geometry, but I don't know how to bind the styles - line weight, transparency, etc. Can someone please advise? Thank you

Hello @fmesafe.podpora​, I wonder if you can map the autocad format attributes (that store styling information) to the appropriate svg format attributes? For example, if we map autocad_color or fme_color to svg_color in an AttributeManager, does the output recieve the correct styling? Otherwise, I notice in the documetation the template file can store cascading style sheets (mind you this wouldn't directly come from the CAD). Happy to help, Kailin.


Hello @fmesafe.podpora​, I wonder if you can map the autocad format attributes (that store styling information) to the appropriate svg format attributes? For example, if we map autocad_color or fme_color to svg_color in an AttributeManager, does the output recieve the correct styling? Otherwise, I notice in the documetation the template file can store cascading style sheets (mind you this wouldn't directly come from the CAD). Happy to help, Kailin.

Hello again @fmesafe.podpora​, I've been thinking more about your post! Out of curiousity, what is the application are you looking to use SVG in? Alternatively, what is the goal with the SVG output or format? Depending on your use case, there may be other formats we can consider writing too! Best, Kailin.


Reply