Object Extended Data

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

Moderators: SDS, support, admin

Post Reply
FieldConsult
Posts: 54
Joined: 14 Mar 2015, 22:33

Object Extended Data

Post by FieldConsult » 21 Jun 2018, 16:34

HI,

Is it possible to access the information stored in the Property Set of an Object, the contents in the Extended Data?

If is possible, can you show some cod.

Is it possible to modify or alter the information and properties stored in the Property Set?

Thanks!!

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

Re: Object Extended Data

Post by support » 21 Jun 2018, 19:55

Hello,

Extended Entity Data (EED) is supported starting from CAD VCL 11.0: to access and modify EED in the imported DWG/DXF file, the entity classes (TsgDXFEntity and its derivatives) contain the property EED:

Code: Select all

property EED[const AAppID: UInt64]: TsgCADExtendedData read GetEED write SetEED;
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

FieldConsult
Posts: 54
Joined: 14 Mar 2015, 22:33

Re: Object Extended Data

Post by FieldConsult » 21 Jun 2018, 20:10

Hi,
I refer to the information here, see figure:

[img]
EDD AutoCAD
EDD AutoCAD
EED-DWG.PNG (9.16 KiB) Viewed 20617 times
[/img]

Okay, but due to the fact that the library only save files until the 2004 version of dwg, according to the information I have, it would only be possible to read some information but not record new or updated information, right?

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

Re: Object Extended Data

Post by support » 21 Jun 2018, 20:45

The Hyperlink value can be read/modified through a TsgDXFEntity.HyperLink property:

Code: Select all

property HyperLink: string read GetHyperLink write SetHyperLink;
Extended data is supported in AutoCAD 2000 and earlier releases, while CAD VCL allows to export drawings to DWG 2004 format, so the extended data won't be lost after saving to a file.

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

FieldConsult
Posts: 54
Joined: 14 Mar 2015, 22:33

Re: Object Extended Data

Post by FieldConsult » 21 Jun 2018, 21:22

OK,

But I ready ask for "Property Set" on Extended Data, no for Hyperlink!! This propertis are no implemented on dwg 2004. I have done a test and I have created a Property Set with Autocad Architecture 2018 and I have exported the file to the 2004 dwg version and the property set has disappeared.

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

Re: Object Extended Data

Post by support » 21 Jun 2018, 21:35

I suggest to send the DWG file containing this Property Set to the Technical Support e-mail for investigation.

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

Post Reply