]> OCCT Git - occt.git/commitdiff
0033206: Data Exchange, Step - Supplemental geometry support
authordpasukhi <dpasukhi@opencascade.com>
Tue, 16 May 2023 06:43:28 +0000 (07:43 +0100)
committerika <ika@opencascade.com>
Tue, 14 May 2024 14:31:27 +0000 (15:31 +0100)
Update initial visible status of SupplementalGeometry to visible.
To update this value on API side after, you need to found a free label
  contains attribute "XCAFDoc::SupplementalContainerGUID()" and set invisible attribute
  XCAFDoc::InvisibleGUID()

src/STEPCAFControl/STEPCAFControl_Reader.cxx

index e9b4975d8231a65e0b97d41a94c5726f57c7d7c1..4033c22af10f1e40549fec37c5f32c2ad138b409 100644 (file)
@@ -3632,7 +3632,6 @@ Standard_Boolean STEPCAFControl_Reader::findReferenceGeometry(const Handle(Stand
     mySupplementalLabel = theShTool->NewShape();
     TDataStd_Name::Set(mySupplementalLabel, "Supplemental Geometry");
     TDataStd_UAttribute::Set(mySupplementalLabel, XCAFDoc::SupplementalContainerGUID());
-    TDataStd_UAttribute::Set(mySupplementalLabel, XCAFDoc::InvisibleGUID());
   }
   TDF_Label aSupGeomLabel = theShTool->AddComponent(mySupplementalLabel, aSh);
   if (aSupGeomLabel.IsNull())