Continue to Site

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!

Shortcut for sweetching the Drawing sheets

Status
Not open for further replies.

akshayp25

Automotive
Aug 8, 2013
4
DE
Hello there..
For making the work faster i am bit addicted to use keybord shortcuts while using CTAIA V5.
Many times i need to work on a CATDRAWING file which has many sheets in it.
can anyone tell me how to sweetch the sheets of a single drawing with keybord shortcut??
 
Replies continue below

Recommended for you

@akshayp25
If you select one of the drawing sheet tabs you can then use the left and right arrow keys to navigate to the correct sheet.

getfile.aspx


However, if you have hundreds of sheets then you can use the macro code below to enter a sheet name.

Code:
Sub CATMain()

Dim intSheet As Integer

intSheet = InputBox("Enter a sheet number.", "Sheet Number")

Dim drawingDocument1 As DrawingDocument
Set drawingDocument1 = CATIA.ActiveDocument

Dim drawingSheets1 As DrawingSheets
Set drawingSheets1 = drawingDocument1.Sheets

Dim drawingSheet1 As DrawingSheet
Set drawingSheet1 = drawingSheets1.Item(intSheet)

drawingSheet1.Activate

End Sub

And you can use an accelerator under Tools > Customize > Commands tab to create a hot key to start the macro.

getfile.aspx


Regards,
Drew Mumaw
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top