From cefc95b3c23f9d53d44e6a90e61590ac725ee46d Mon Sep 17 00:00:00 2001 From: dpasukhi Date: Tue, 16 May 2023 07:43:28 +0100 Subject: [PATCH] 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() --- src/STEPCAFControl/STEPCAFControl_Reader.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/STEPCAFControl/STEPCAFControl_Reader.cxx b/src/STEPCAFControl/STEPCAFControl_Reader.cxx index 614422b07b..ba4ed3f5a1 100644 --- a/src/STEPCAFControl/STEPCAFControl_Reader.cxx +++ b/src/STEPCAFControl/STEPCAFControl_Reader.cxx @@ -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())