1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0033206: Data Exchange, Step - Supplemental geometry support

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()
This commit is contained in:
dpasukhi 2023-05-16 07:43:28 +01:00
parent a35ded3135
commit cefc95b3c2

View File

@ -3246,7 +3246,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())