Unique Entity ID

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Unique Entity ID

Post by aby » 10 Jan 2008, 23:18

Hi,

AutoCad has a unique ID for each entity. What is the equivalent in this environment. TsgDXFEntity Object has Name property which it gives the class Name. What I need is unique ID Number.

Thanks

Aby

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

Post by support » 11 Jan 2008, 14:42

Hello Aby,

We recommend to use the following property: TsgDXFEntity.Handle

Sergey.

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

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 11 Jan 2008, 18:52

Hi Sergey,

I didn't buy the DXFExport module but I'm going to buy it in the near future.

I want to be sure on this issue. If I create an entity , export and create a dwg file, then when we open this drawing am I going to get the same Handle.[:)]

Aby

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

Post by support » 14 Jan 2008, 14:10

Hi Aby,
  • 1. AutoCad does not allow to change IDs, so the same CAD Import VCL does not allow to change Handles.
  • 2. Currently Handles are generated automatically. It means that there is no guarantee that when opening exported file handles will be the same.
  • 3. DXF Export VCL does not allow crerating DWG files. DXF file format is available only.
Sergey.

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

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 14 Jan 2008, 15:38

Hi Sergey,

1. AutoCad does not allow to change IDs, so the same CAD Import VCL does not allow to change Handles.

I don't want to change the handles.


2. Currently Handles are generated automatically. It means that there is no guarantee that when opening exported file handles will be the same.

Does than mean that every time you've created the drawing from DXF the drawing entity ID's are changing.? Do you know any other way other than ID's to link between CadSoft tool and AutoCad.

Thanks

Aby

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

Post by support » 15 Jan 2008, 09:37

Hi Aby,

The situation is:
  • 1. When CAD Import VCL opens DXF file created by AutoCAD, handles stay the same.
  • 2. When this opened DXF file is converted to another DXF file by DXF Export VCL, handles may get changed.
We plan to change this state of affair in the future.

Sergey.

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

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 19 Jan 2008, 10:16

Hi Sergey,

"We plan to change this state of affair in the future."

We are ready to buy this feature. When will be ready?

By the way could you suggest a way on how to implement this feature, cause I don't have time to wait.

Thanks

Aby

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

Post by support » 21 Jan 2008, 13:54

Hi Aby,

We plan to start working on this task in the 4th quarter of 2008.

Sergey.

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

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

Re: Unique Entity ID

Post by support » 14 Dec 2009, 11:31

Hello.
In the latest version of the software - CAD Import VCL 7 - all entities are provided with unique handles.

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

Post Reply