Reading TsgExportParams back at Import

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

Moderators: SDS, support, admin

Post Reply
KKesslau_SEMA
Posts: 8
Joined: 09 Mar 2018, 14:43

Reading TsgExportParams back at Import

Post by KKesslau_SEMA » 06 Mar 2023, 14:06

Hi there,

when a DXF-/DWG-File is saved with the TsgCADExport-class I can assign TsgExportParams and set specific informations like the author of the file. Thats great and all, but how can I read the exported information back at the import?

Thanks in advance,
Kevin

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

Re: Reading TsgExportParams back at Import

Post by support » 06 Mar 2023, 16:18

KKesslau_SEMA wrote:
06 Mar 2023, 14:06
Hi there,

when a DXF-/DWG-File is saved with the TsgCADExport-class I can assign TsgExportParams and set specific informations like the author of the file. Thats great and all, but how can I read the exported information back at the import?

Thanks in advance,
Kevin
Hi Kevin,
Have a look at the properties starting with TsgDXFConverter.DrwProp., e.g. DrwPropAuthor:

//Summary info of the Drawing database
property DrwPropAuthor: string read GetDrwPropAuthor write SetDrwPropAuthor;
property DrwPropComments: string read GetDrwPropComments write SetDrwPropComments;
property DrwPropHyperlinkBase: string read GetDrwHyperlinkBase write SetDrwHyperlinkBase;
property DrwPropKeywords: string read GetDrwPropKeywords write SetDrwPropKeywords;
property DrwPropRevisionNumber: string read GetDrwRevisionNumber write SetDrwRevisionNumber;
property DrwPropSavedBy: string read GetDrwPropSavedBy write SetDrwPropSavedBy;
property DrwPropSubject: string read GetDrwPropSubject write SetDrwPropSubject;
property DrwPropTitle: string read GetDrwPropTitle write SetDrwPropTitle;
property DrwPropCustomSummaryInfo: TStringList read GetDrwPropCustomSummaryInfo;
property DrwPropCreatedDateTime: TDateTime read FDrwPropCreatedDateTime
write FDrwPropCreatedDateTime;
property DrwPropModifiedDateTime: TDateTime read FDrwPropModifiedDateTime
write FDrwPropModifiedDateTime;
property DrwPropTotalEditingTime: TTimeStamp read FDrwPropTotalEditingTime
write FDrwPropTotalEditingTime;

Regards,
Catherine.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply