Shortcut for sweetching the Drawing sheets
Shortcut for sweetching the Drawing sheets
(OP)
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??
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??





RE: Shortcut for sweetching the Drawing sheets
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.
However, if you have hundreds of sheets then you can use the macro code below to enter a sheet name.
CODE --> vba
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 SubAnd you can use an accelerator under Tools > Customize > Commands tab to create a hot key to start the macro.
Regards,
Drew Mumaw
http://www.drewmumaw.com/
http://www.textsketcher.com/
RE: Shortcut for sweetching the Drawing sheets
Here are the images.
Regards,
Drew Mumaw
http://www.drewmumaw.com/
http://www.textsketcher.com/