Retrieve actual TopoDS_Shape from TNaming_NamedShape

Hi all,

I would like to iterate over the faces of a TopoDS_Shape and read the data stored in the attributes of the faces.
It is possible to get the shapes and subshapes related to a label via TNaming_Tool::GetShape. But is there any function to get the label related to a TopoDS_Shape (subshape) i.e. a face?

Thanks in advance,

Jens

Patrik Mueller's picture

Hi Jens,

take a look at the ShapeTool from XDE...

Best regards,

Patrik