Can anyone point me into the right direction how to read the measurement units and the accuracy specified in a STEP file that is specified within the STEP that is generated with a CAD package like Creo?
I've tried to do that with
const Handle(XSControl_WorkSession)& theSession = aReader.WS();
const Handle(Interface_InterfaceModel)& theModel = theSession->Model();
Standard_Integer nb = theModel->NbEntities(); // Returns count of contained Entities.
for (Standard_Integer i = 1; i <= nb; i++)
Handle(StepRepr_Representation) ent = Handle(StepRepr_Representation)::DownCast(theModel->Value(i));
Apparently this is not the correct way.
Any advice is much appreciated.