I have the following code:
This turns Annotations Sets On or Off depending on their original status.
Is there a way to just turn them on?
For example the following code unhides all annotaitons.
I do not want any annotations sets to be accidentally turned off.
Code:
selection1.Search "CATTPSSearch.CATFTAElement,Annotation Set"
CATIA.StartCommand("Annotation Set Switch On/Switch Off")
This turns Annotations Sets On or Off depending on their original status.
Is there a way to just turn them on?
For example the following code unhides all annotaitons.
Code:
selection1.Search "CATTPSSearch.CATFTAElement,all"
Set visPropertySet1 = Selection1.visProperties
VisPropertySet1.SetShow 0
Selection1.Clear