Drawing Title Block - Sheet Numbers - Leading Zeros

Drawing Title Block - Sheet Numbers - Leading Zeros

Mark_XD_UK
Enthusiast Enthusiast
372 Views
3 Replies
Message 1 of 4

Drawing Title Block - Sheet Numbers - Leading Zeros

Mark_XD_UK
Enthusiast
Enthusiast

Hi All,

 

Another simple issue, pretty much as title.

 

Within our drawing sheets I have added the standard <Sheet Number> to drawing title block but (as per usual) the whole drawing (14 sheets) will get rejected by doc control trolls unless the sheet numbers have leading zeros.

 

I have/had a work around until drawings sheet numbers went into double digits i.e. 10+

 

What I need is leading zeros - with current arrangement you get sheet numbers 1, 2, 3, 4.... 9, then 10

 

For doc control filing we need 001, 002, 003, ....009, then 010, 011, 012 etc

 

Is there a simple way to sort this or do we need to go down the irule route?

 

Might be a development idea for Autodesk as this is standard practise with the doc control gate keepers.   

 

Many Thanks in advance for any assistance 👍

 

 

 

 

0 Likes
373 Views
3 Replies
Replies (3)
Message 2 of 4

WCrihfield
Mentor
Mentor

I really doubt it.

  • I do not see anything in the Format Text dialog that would enable that formatting.
  • I do not see anything in the FormattedText documentation that would enable that either.
  • I tried to manually rename the sheet with something like ":001" at its end, to replace the built-in automatic numbering system, but that is not allowed, due to the ":" character not being allowed, plus the sheets will automatically renumber themselves when you move them around.
  • If we attempted to edit its numerical value by code, it would likely end up as a 'static' value, instead of 'linked'.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 4

Mark_XD_UK
Enthusiast
Enthusiast

Thx Wesley,

 

I think I'm going to try something simple like creating user parameter 'X_Sheet_Number' that starts as '000' & then applies the <Sheet Number> to 'X_Sheet_Number' so resulting in a '001' thru '014'+ string (doesn't need to be a number) to place into drawing sheet. Would still change & update as it's driven by the standard parameter <Sheet Number>.

 

This seems simple to me.  .....but I may be wrong lol 

 

Regards MJR

0 Likes
Message 4 of 4

WCrihfield
Mentor
Mentor

Good luck with that.  Just for additional information though, when you inspect the FormattedText behind the TextBox that only has "<Sheet Number>" as its Text value, you get the following:

"<DerivedProperty DerivedID='29704'>Sheet Number</DerivedProperty>"

This is a 'derived' property, not a standard iProperty that we can easily access its value.  To get the numerical value, we separate the Sheet.Name property value into two parts (its name, and the number after the ":" character).  If you only have one UserParameter or one custom iProperty for driving sheet number, but 14 sheets, that can be difficult to manage a different value for each sheet, even when you create new sheets.  That task may take some relatively advanced code with events monitoring involved.  Such as when new sheet is added, run some code that sets the value for that sheet, or something like that.  Just some food for thought.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes