Fri, 01/26/2024 - 18:38
I have an IGES file that has some set Views in it (TopView, BottomView, RearView, FrontView and SideView). Views are supposed to be invisible and only meant to align the camera. However, when OCC translates imports, the views are treated as normal surfaces, becoming visible.
I tried looking into some properties to see if i'm missing something signaling that the Views should be invisible, i've looked into
ColorTool->IsVisible(ViewLabel)
, but the label of the Views are considered as visible.ViewLabel.Dump(std::cout)
and ````ViewShape.Dump(std::cout)``` , but neither had a property related to visibility.Handle(TDataStd_Name) ViewLabelName
, but this name, which if i understood correctly should be the name of the view, was translated to '3D BsCrv', not anything related to Views.
Is the information about this stored somewhere else?
I searched a bit into IGES files , and the looking into the File data, the field that represents "Label Display Associativity" seems to be what i'm looking for, but it seems like XDE doesn't translate it. In the anexed files you can see that the field "Label Display Associativy" for the things that should be considered as parts of the mesh are things like "BsCrv", "Point", "Curve" or things like that, whereas for the Views the field is written with "BottomVi", "TopView.", "RearView", which means that there is a difference between them, even if their "Entity Types" are the same.
Note: i can't share the IGES file because it's too large, even when compressed.