autodesk-forgeautodesk-viewerautodesk-designautomationobjectarx

How can I export a custom markup back into AutoCAD


I have implemented a custom markup option like described in this blog post and I'm looking for a way to place the custom markup on the original AutoCAD DWG file using the DesignAutomation v3 API and a custom ObjectArx C# AutoCAD plugin.

I've looked around in the ObjectArx documentation, and it doesn't look like it's possible to directly place an SVG in a DWG file, so I think my best option would be to convert the SVG commands into AutoCAD shapes and group them. Does anyone have a script to do this?


Solution

  • Just some ideas, after the markup data of SVG (from the context of Forge Viewer )is ready, you could try to organize the data: