Data in the dwg

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

Moderators: SDS, support, admin

Post Reply
Jourde
Posts: 33
Joined: 10 Sep 2004, 10:33
Location: France
Contact:

Data in the dwg

Post by Jourde » 13 Jul 2005, 16:25

Hi, we works with a developper (under ARX) who add some text information in the dwg file.

Does the compment could extract this extra data from the dwg file ?

Thanks

E.Jourde

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

Post by support » 13 Jul 2005, 17:20

Hi,

CADImportVCL is able to extract text data from the dwg file.
Could you please explain in AutoDesk terms what do you need to get exactly.

Sergey.

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

Jourde
Posts: 33
Joined: 10 Sep 2004, 10:33
Location: France
Contact:

Post by Jourde » 13 Jul 2005, 18:08

ok thaks, but my developper is in hollydays ! so can you say in which functions i need take a look for extracting text storing in dwg ! just for try !

Thanks


E.Jourde

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

Post by support » 13 Jul 2005, 19:24

Hi,

Do you need to add comment to dwg file or any text entity?

Sergey.


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

Jourde
Posts: 33
Joined: 10 Sep 2004, 10:33
Location: France
Contact:

Post by Jourde » 14 Jul 2005, 17:25

No i need to read Text data in a dwg file ! just read it !

Thanks.


E.Jourde

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

Post by support » 18 Jul 2005, 19:41

Hi,

CADImportVCL package (http://www.cadsofttools.com/download/CADImportVCL.zip) includes a demo in the next folder: CADImportVCL source\Demos\SimpleImport. It has examples of getting text from DWG file.

Sergey.

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

Jourde
Posts: 33
Joined: 10 Sep 2004, 10:33
Location: France
Contact:

Post by Jourde » 22 Aug 2005, 12:31

ok, i ask to my ARX developper,

he use a ACDB_entity object and use the call-back fonction DWGOutFields and DWGInFields to put and read some texts data stored directly in the dwg.

Can i read that with CadSoftTools ?


Thanx

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

Post by support » 22 Aug 2005, 17:50

Hi,

CADImportVCL allows getting of internal entities parameters (for example center point, radius for circles etc). Could you please explain in detail what do you need to get exactly.

Sergey.

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

Jourde
Posts: 33
Joined: 10 Sep 2004, 10:33
Location: France
Contact:

Post by Jourde » 29 Aug 2005, 13:01

ok i explain more my problem :

I have a developper who write electrical appplication with arx/VC++ (200 and 2002 for AutoCad 2000 et 2004and more). before with store some hierachical datas in some files .txt near the main dwg file.

But we want modify that, to include this data directly in the dwg file. For that he use so the DWGOutFields and DWGInFields functions to add data in (like a memo with a data base, it's just some binary data). But now dwg are crypted so with a hex. editor we don't find the text stored in the dwg.

Then i need to be abble to read this text file stored directly in the dwg (like proprietere's objects), if it's possible !

Else we will be able to create a new format of data who include dwg+some text files !


Thanks


E. Jourde
SARL ALPI
France

Post Reply