llbbyy
Mechanical
- Mar 21, 2017
- 21
After finishing design, a lot's planes are shown in a mess, how to make a macro to hide all the plane?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Language="VBSCRIPT"
Sub CATMain()
Set productDocument1 = CATIA.ActiveDocument
Set product1 = productDocument1.Product
Set productDocument1 = CATIA.ActiveDocument
Set selection1 = productDocument1.Selection
selection1.Search "CatPrtSearch.Plane,All"
Set visPropertySet1 = selection1.VisProperties
visPropertySet1.SetShow catVisPropertyNoShowAttr
selection1.Clear
End Sub