Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Jan 20, 2016
235
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