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()
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())