How to Hide Planes & Sketches...

How to Hide Planes & Sketches...

BeKirra
Advisor Advisor
1,015 Views
4 Replies
Message 1 of 5

How to Hide Planes & Sketches...

BeKirra
Advisor
Advisor

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.

  1. Looking for a way to untick all features in "Objects Visibility" in View tab (see snapshot below).
  2. Also hide those features mentioned above in locked files (e.g. they are not checked out from vault) in Assembly level.

Can it be done?

Thanks in advance.

 

BeKirra_1-1715640291090.png

 

 

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Accepted solutions (1)
1,016 Views
4 Replies
Replies (4)
Message 2 of 5

BM_Ashraf
Advocate
Advocate

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

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.

Blue Mech

Add-ins for Inventor!

Message 3 of 5

BeKirra
Advisor
Advisor

Thanks. It is great!

 

It'd be much helpful if the "Welds" and "Weldment Symbols" can also be unticked.

 

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 4 of 5

BM_Ashraf
Advocate
Advocate
Accepted solution

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
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.

Blue Mech

Add-ins for Inventor!

Message 5 of 5

BeKirra
Advisor
Advisor

Thanks again. 😀

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²