Hallo Leute,
ich versuche mich seit kurzem in der hohen Kunst der Makro-Programmierung
Im Internet habe ich ein Makro gefunden, dass Wireframe-Geoetrien, Flächen usw über die Catia Suchfunktion ausblendet.
Jetzt hätte ich gerne, dass auch alle Annotations in meiner Product-Struktur ausgeblendet werden. Ich krieg das aber nicht hin. Weiß jemand Rat?
So sieht mein Makro aus:
Sub CATMain()
Set productDocument1 = CATIA.ActiveDocument
Set Selection1 = productDocument1.Selection
Selection1.Search "(CATPrtSearch.AxisSystem.Visibility=Visible + (CATPrtSearch.Surface.Visibility=Visible + (CATPrtSearch.Wireframe.Visibility=Visible + CATPrtSearch.Sketch.Visibility=Visible))),all"
Set VisPropSet1 = Selection1.VisProperties
VisPropSet1.SetShow catVisPropertyNoShowAttr
End Sub
Gruß Matze
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP