Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations LittleInch on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Turn Annotation Sets On

Status
Not open for further replies.

jzecha

Aerospace
Joined
Jan 20, 2016
Messages
236
Location
US
I have the following code:

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
I do not want any annotations sets to be accidentally turned off.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top