Free Support Forum - aspose.com

DWG to vector for rendering to an external GUI renderer


#1

Hallo,

I was wondering if it is possible to use the CAD API to get vectorized data back. I can see that you already do this when I convert a DWG file to PDF, but what I need is to be able to iterate to all drawable objects get their coordinates and draw them on my own renderer. Is this supported?

Thank you


#2

@gehatg

Can you please share your requirements in form of sample along with source file so that we may further investigate to help you out.


#3

Hallo,

The requirement is fully explained here:https://forum.groupdocs.com/t/create-a-custom-viewerhandler/7159

Thank you


#4

@gehatg,

I have observed your requirements and like to share that Aspose.CAD does support accessing the DWG files and accessing the layers and entities inside them. However, it does not support saving DWG file but allow only following:

There is no such option available in API to individually access each item and get their drawable objects and pass on to any custom view controller as this is not in mandate of API.