Page 1 of 1

Reading TsgExportParams back at Import

Posted: 06 Mar 2023, 14:06
by KKesslau_SEMA
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

Re: Reading TsgExportParams back at Import

Posted: 06 Mar 2023, 16:18
by support
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.