I am trying to hide the visibility of the Planes in my parts.
Here's what I have (C#):
bool status = false;
swModelDocExt = (SldWorks.ModelDocExtension)swModel.Extension;
status = swModelDocExt.SelectByID2("Front Plane", "PLANE", 0, 0, 0, false, 0, null, 0);
swSelMgr = swModel.SelectionManager;
swFeat = swSelMgr.GetSelectedObject6(1, -1);
This code is incorrect because it hides the Front Plane in the feature tree:
What im trying to achieve:
Can someone point me in the right direction?