Tuesday, 24 September 2013
How to hide CATIA geometry with a macro
Posted on 18:50 by Unknown
Use selection method to select a piece or
pieces of geometry in CATIA. You can do this by searching for name or by type. Now you
can use the code below to hide or unhide the geometry in CATIA.
‘hide
Dim visPropertySet1 As VisPropertySet
Set visPropertySet1 = oSelection.visProperties
VisPropertySet1.SetShow catVisPropertyNoShowAttr
‘alternative method: VisPropertySet1.SetShow 1
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment