Edit: Obviously I am talking about iLogic.
1st of all, I did a search in the forum and found threads discussed this topic.
However, my situation may be slightly different.
Here is what I am after.
Can it be done?
Thanks in advance.
Solved! Go to Solution.
Solved by BM_Ashraf. Go to Solution.
Hi @BeKirra
Hope this code helps you to control the objects Visibility!
Dim oDoc As Document = ThisApplication.ActiveDocument Dim oBJVis As ObjectVisibility = oDoc.ObjectVisibility oBJVis.AllWorkFeatures = False oBJVis.ConstructionSurfaces = False oBJVis.Sketches = False oBJVis.Sketches3D = False oBJVis.SketchDimensions = False oBJVis.Annotations3D = False
Thanks. It is great!
It'd be much helpful if the "Welds" and "Weldment Symbols" can also be unticked.
Sure,
Dim oDoc As Document = ThisApplication.ActiveDocument Dim oBJVis As ObjectVisibility = oDoc.ObjectVisibility oBJVis.AllWorkFeatures = False oBJVis.ConstructionSurfaces = False oBJVis.Sketches = False oBJVis.Sketches3D = False oBJVis.SketchDimensions = False oBJVis.Annotations3D = False oBJVis.WeldmentSymbols = False oBJVis.Welds = False
Thanks again. 😀
Can't find what you're looking for? Ask the community or share your knowledge.