Prod.: Engine, ver.: 6, ID: 60001585, HowTo : How to preserve custom objects in DXF format

HowTo : How to preserve custom objects in DXF format

Article60001585
TypeHowTo
ProductEngine
Version6
Date Added12/27/2011
Submitted byPeter Chanios
Keywords

Subject

How to preserve custom objects in DXF format

Summary

How to preserve custom objects in DXF format

Solution

There is sample code in our .NET samples project , in VectorDrawMultiLine.cs.
The procedure followed there is to add extra xProperties to the Exploded figures when the Explode Command is called.
The at the Form1.cs to the OnAfterOpenDocument event we find the objects with the extra xproperties and delete them , and instead of them we add custom objects with their properties that have been extracted from the xproperties.
Please check the sample code for further information.