Hallo!
Oder Du machst das so:
Language="VBSCRIPT"
Sub CATMain()
Dim productDocument1 As Document
Set productDocument1 = CATIA.ActiveDocument
Dim selection1 As Selection
Set selection1 = productDocument1.Selection
selection1.Search "Typ:Achsensystem;Alle"
Set visPropertySet1 = selection1.VisProperties
visPropertySet1.SetShow 1
selection1.Search "Typ:Bedingung;Alle"
Set visPropertySet1 = selection1.VisProperties
visPropertySet1.SetShow 1
selection1.Search "Typ:Ebene;Alle"
Set visPropertySet1 = selection1.VisProperties
visPropertySet1.SetShow 1
selection1.Search "Typ:Skizze;Alle"
Set visPropertySet1 = selection1.VisProperties
visPropertySet1.SetShow 1
End Sub
Damit kannst Du dann alle störenden Elemente ausblenden.
Zum Einblenden musst Du einfach dies "visPropertySet1.SetShow 0"
mit einer "0" versehen.
------------------
Mit freundlichen Grüßen,
Patrick Schlebes
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP