Hello Thomas,
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">1. What is the Destination.dxf in your code above supposed to be?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
<b>Destination.dxf</b> this is a container file. It stores contents of the both files after executing.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">2. I tried to replace your code on loading a Destination.dxf with instantiating a new CADImage, i.e. this.cadImage = new CADImage()
3. The saved DXF files seems a bit incomplete. A lot of entities that are missing, not to mention that those in the XREFs are not saved as well.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
We need your file to test them.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">4. Is there any methods or properties in CADImage where I can enumerate for those entities that are loaded from XREFs? Or all of them are loaded and added to the CADImage.Converter.Entities collection?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
All entities available in the <i>cadImageSource.CurrentLayout.Converter.GetSection(CADImport.FaceModule.ConvSection.Entities).Entities[]</i> list must be loaded. A number of the loaded entities must be equal to <i>cadImageSource.CurrentLayout.Converter.GetCounts(CADImport.FaceModule.ConvSection.Entities)</i>.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">5. Why does CADImage.Converter.XRefs.Count always return 0 even when I load a DWG file that I am 100% it contains XREFs. (Those that I emailed you.)<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
<i>CADImage.Converter.XRefs.Count</i> returns a number of founded and loaded XRef files. If this value is lower then required it means that failure occurred while loading some XRers.
Sergey.
Please post questions to the forum or write to
support@cadsofttools.com