#1
|
|||
|
|||
Sheet Number question
Hello all,
How can I change the sheet number to have a dash "-" in multi sheet drawings? I have a drawing that has two sheets and I would like to have it read 98-1 (for sheet 1) & 98-2 (for sheet 2). When I try to change or rename the sheet to 98-1, I get "This is not a valid sheet number" Any ideas? TIA Tim |
#2
|
||||
|
||||
Re: Sheet Number question
What is the prefix number for? Is that driven off of the part number possibly? You could use two fields.
__________________
Tom Kirkman Creo Elements/Direct 20.1 Dell Precision 3581 https://www.o-i.com |
#3
|
|||
|
|||
Re: Sheet Number question
Hi Tom,
I am design plastic injection molds and some jobs have hundreds of parts and each part needs it's own drawing. So in this case 98 is the drawing of the whole design, -1 & -2 are the sheets of drawing 98. I hope I explained that okay. Tim |
#4
|
||||
|
||||
Re: Sheet Number question
Tim
This is one possible solution. Add the following to your am_customize file. Code:
(docu-register-tr-type "Sheet_global" "Name-Number" "???" 'my-tr-get-name-number) (defun my-tr-get-name-number () (format nil "~A~A~A" (docu::docu_inq_drawing_number_text) "-" (docu::docu-get-current-sheet-name))) Do you still use the -1 if you only have 1 sheet? This might cause a problem if it does. Tom
__________________
Tom Kirkman Creo Elements/Direct 20.1 Dell Precision 3581 https://www.o-i.com |
#5
|
|||
|
|||
Re: Sheet Number question
Tom,
Thanks for your help. I'll give it a try to see if this is the result I am looking for. If there is only one sheet, then there is no dash number. Thanks, Tim |
#6
|
||||
|
||||
Re: Sheet Number question
Tim
Additional programming could be done that will examine how many sheets are in a drawing and add the -1, -2 etc. only if there is more than one sheet. Tom
__________________
Tom Kirkman Creo Elements/Direct 20.1 Dell Precision 3581 https://www.o-i.com |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|