Mon, 06/19/2023 - 16:37
Hello there,
I'm processing a STEP file which comes with a name as you can see in the nameDesc image attached.
My idea was to access those properties using the following function:
TDocStd_Document::GetName
In that case seems that myMetaData is null (see errorImg image attached).
Am I supposed to fill metadata with?
CDM_Document::SetMetaData(const Handle(CDM_MetaData)& aMetaData)
I thought that using
Standard_EXPORT Standard_Boolean Transfer (const Handle(TDocStd_Document)& doc, const Message_ProgressRange& theProgress = Message_ProgressRange());
and
doc->GetName();
will be enough...
Kind Regards,
Attachments:
Mon, 06/19/2023 - 17:58
Try taking a look onto
APIHeaderSection_MakeHeader
tool: