Bind all XREFs as a single file

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

thomascheah
Posts: 26
Joined: 17 Oct 2007, 06:46
Location: Malaysia
Contact:

Post by thomascheah » 25 Jan 2008, 17:44

Hmmm.... a bit quiet here. :)

<b>Objective World Pvt. Ltd.</b>
"<i>Turning Knowledge Into Wisdom.</i>"
http://www.objectiveworld.com

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

Post by support » 25 Jan 2008, 17:45

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

thomascheah
Posts: 26
Joined: 17 Oct 2007, 06:46
Location: Malaysia
Contact:

Post by thomascheah » 26 Jan 2008, 07:56

Sergey,

Just emailed you some sample files for you to work out and illustrate you idea.

Thanks a lot. Appreciate it!

Thomas

<b>Objective World Pvt. Ltd.</b>
"<i>Turning Knowledge Into Wisdom.</i>"
http://www.objectiveworld.com

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

Post by support » 28 Jan 2008, 16:38

Hi Thomas,

We've got them. We'll answer you soon.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

thomascheah
Posts: 26
Joined: 17 Oct 2007, 06:46
Location: Malaysia
Contact:

Post by thomascheah » 01 Feb 2008, 10:00

How's things progressing? Any good news? :)

<b>Objective World Pvt. Ltd.</b>
"<i>Turning Knowledge Into Wisdom.</i>"
http://www.objectiveworld.com

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

Post by support » 01 Feb 2008, 12:37

The problem is solved partially.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

thomascheah
Posts: 26
Joined: 17 Oct 2007, 06:46
Location: Malaysia
Contact:

Post by thomascheah » 01 Feb 2008, 17:46

Hi Sergey,

Can you tell me what are the problems that are solved, and those that are yet to be solved? I remember I reported 3 issues below to you,

1. Certain DWG files are not able to save into DXF, i.e. no DXF file produced when save. (I think this is solved in the interim release you email me.)

2. The saved DXF file contains color, default layout, and line style incorrectly saved/

3. Try to apply your solution precribed above to create an output DXF with all the entities from the source CAD file including all its XREFs. It seems not all entities are saved. Not sure it is a bug in the CAD Import library or problem in your precribed solution.

It will be good if you can email me the latest build and tell me what are the problems that are solved (include an improved solution to illustrate #3 above), then perhaps we can integrate it with our current development and move forward with our next step while waiting for the bugs to be completely solved.

Thanks!

<b>Objective World Pvt. Ltd.</b>
"<i>Turning Knowledge Into Wisdom.</i>"
http://www.objectiveworld.com

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

Post by support » 05 Feb 2008, 10:00

Hi Thomas,

All three problems are solved. But we have encountered another one. The result DXF file can't be read by AutoCAD sometimes. Currently we work on this problem. If compatibility with AutoCAD does not matter for you, we can prepare new version of CADImport.DLL for you.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

thomascheah
Posts: 26
Joined: 17 Oct 2007, 06:46
Location: Malaysia
Contact:

Post by thomascheah » 05 Feb 2008, 15:48

Hi Sergey,

You can emailed that release so that we can go away from bugging you for a while to keep our development going. As for now, opening the file in AutoCAD is not a big issue. (But we might need this compatibility in the near future.) Then when you had fixed that AutoCAD issue, you can send us again.

Thanks!

p/s: I think you already got my email. Looking forward to get the latest release from you. :)

<b>Objective World Pvt. Ltd.</b>
"<i>Turning Knowledge Into Wisdom.</i>"
http://www.objectiveworld.com

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

Post by support » 05 Feb 2008, 18:52

Hi Thomas,

The problems are solved for the 1 and 2 points.
We have sent you a link to the updated library.

Point 3: the problem is solved for our test files but your files are still in processing.

Sergey.


Please post questions to the forum or write to support@cadsofttools.com

Post Reply