- TopoDS_Shape aShape;
-
- TDF_Label aLabel = myLab.FindChild( DataTag_Shape, false );
- if ( !aLabel.IsNull() )
- {
- Handle(TNaming_NamedShape) aNamedShape;
- if( aLabel.FindAttribute( TNaming_NamedShape::GetID(), aNamedShape ) ) {
- aShape = aNamedShape->Get();
- }
- }
-
- return aShape;