Custom Import/Custom Export file types

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
exvance
Posts: 2
Joined: 15 Dec 2010, 10:11

Custom Import/Custom Export file types

Post by exvance » 15 Dec 2010, 10:18

Hi,

I have my own xml file format that I need to be able to load (display), edit, and save (export). I believe I can just pull the data from my xml file and manually create a CADImage object and set the appropriate properties. Then, when I need to save (export) I can just manually copy the properties into my xml file. That will probably work I was just wondering if there is a more elegant solution. Is there a way to "build in" support for different file types?

Thanks,

Eric

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Custom Import/Custom Export file types

Post by support » 17 Dec 2010, 13:16

Hello Eric.
CAD Import .NET doesn't allow "build in" support for different unsupported formats. You can import data from your file using stream and programmatically create CADImage object structure. Export to XML format displayed in ImportDemo project.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply