CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Annotation

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-06-2013, 10:41 AM
Eagle Mold Design Eagle Mold Design is offline
Registered User
 
Join Date: Oct 2010
Location: IL - USA
Posts: 15
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
Reply With Quote
  #2  
Old 08-06-2013, 12:31 PM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
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
Reply With Quote
  #3  
Old 08-06-2013, 12:43 PM
Eagle Mold Design Eagle Mold Design is offline
Registered User
 
Join Date: Oct 2010
Location: IL - USA
Posts: 15
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
Reply With Quote
  #4  
Old 08-07-2013, 04:41 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
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)))
This will create a new text reference called Name-Number. It will combine the drawing name with the current sheet number. If you add this to the title block all drawings using the title block will have the drawing name with the number.

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
Reply With Quote
  #5  
Old 08-08-2013, 07:03 AM
Eagle Mold Design Eagle Mold Design is offline
Registered User
 
Join Date: Oct 2010
Location: IL - USA
Posts: 15
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
Reply With Quote
  #6  
Old 08-08-2013, 07:18 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:26 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.