Extracting Descriptive Representation Item from STEP File

Hi!

I've been digging through an AP242 file and haven't been able to extract a certain descriptive representation item. The step file is attached, I'm looking for entity 22256:

#22256=DESCRIPTIVE_REPRESENTATION_ITEM('','NOTES...

I've tried traversing with the XCAFDoc_NotesTool, _ViewTool, _LayerTool, _DimTolTool but haven't found this particular piece of text, or any label associated with it. It shows up in Solidworks and Creo, but not in CAD Assistant.

What am I missing?

Thanks so much.

Dmitrii Pasukhin's picture

Hello, that entity can be used for different scenario. As a PMI information or as a metadata.

CAD Assistant do not support metadata reading. But OCCT does on master branch.

Please check: New feature - STEP Import | User Defined Attributes - Forum Open Cascade Technology

That link if that attributes part of UDA. But If it is a part of PMI, then you need extract them as a 

Handle(XCAFDimTolObjects_DimensionObject) aDimObj = ...
aDimObj->GetDescription

Best regards, Dmitrii