×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

PMI/ 3D Annotations

PMI/ 3D Annotations

PMI/ 3D Annotations

(OP)
Is there a way to turn on all Information in a Annotation Set?
I have a large model with hundreds of dimensions, notes, and tolerances.
I currently use the search function to select all of each type, but I am looking for faster way.
Possibly a Macro?

Second, I have seen multiple Macros that pull 3D annotation from a CATPart and screenshots them, but has anyone seen a Macro that pulls the annotations from a CATProduct instead?

RE: PMI/ 3D Annotations

(OP)
I havent found anything about turning on the hidden annotations.

On the second half of my post i was referring to something similar to this thread, only with annotations in the product:
http://www.eng-tips.com/viewthread.cfm?qid=371212

RE: PMI/ 3D Annotations

(OP)
Ill give the first part a shot.

I didnt figure the second part would be easy, just curious if anyone knew of anything that already existed.

RE: PMI/ 3D Annotations

(OP)
I have created this script off of the idea from that thread ferdo.
And it does exactly what i want it to do.

CODE --> CATScript

Language="VBSCRIPT"

Sub CATMain()

Set  ProductDocument1 = CATIA.ActiveDocument
Set Product1 = ProductDocument1. Product

Dim ProductDoc1_As_Document
Set ProductDoc1 = Catia.ActiveDocument

Dim Selection1_As_Selection
Set Selection1 = ProductDoc1.Selection

selection1.Search "CATTPSSearch.CATFTAElement,all"
Set visPropertySet1 = Selection1.visProperties
VisPropertySet1.SetShow 0
Selection1.Clear

Dim specsAndGeomWindow1 As Window
Set specsAndGeomWindow1 = CATIA.ActiveWindow

Dim viewer3D1 As Viewer
Set viewer3D1 = specsAndGeomWindow1.ActiveViewer

Dim viewpoint3D1 As Viewpoint3D
Set viewpoint3D1 = viewer3D1.Viewpoint3D

viewer3D1.Reframe 

Set viewpoint3D1 = viewer3D1.Viewpoint3D

End Sub 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources