Help! Don't want drawing number in file number.

Help! Don't want drawing number in file number.

RonBuckingham
Advocate Advocate
2,882 Views
10 Replies
Message 1 of 11

Help! Don't want drawing number in file number.

RonBuckingham
Advocate
Advocate

Hi Everyone,

 

First off, it gets confusing.... drawing number, drawing name, part number, part name, assembly number, assembly name, file number, file name, sheet number, ect, ect.

 

Second, I am very new at customizing drawing processes, so please talk to me like I'm 5 years old!

 

I made a model and numbered it (beam assemblies B25, B34, B41 ect). I want my "file name" to match the "assembly name", that is I want files like B25.DWG, B34.DWG, B41.DWG. Maybe I should have done the "post numbering" method, but I have already released general arrangements which show these assembly names and don't want to renumber at this point.

 

So I made a new drawing process and found the Filename selector. I made the drawing name %PosNum.dwg

pic1.png

 

I went into my prototype (border) and changed the tag to POS_NUM and that works great, B25. Each beam assembly is on a separate DWG.

pic2.png

But when I use this drawing process, and get the "process properties" box, there is a place where you pick the starting "drawing number" and "drawing number increment". I don't want these in the file name. But no matter what I've tried, my file names have those drawing numbers attached to the end. I've tried the %flat(#) token in the filename selector, where # is number of spaces, even tried %flat(0) but still have those numbers attached to the end of the file name.

pic3.pngpic4.png

 

What am I doing wrong?  Is %PosNum the same thing as POS_NUM?

Thanks
Ron

0 Likes
Accepted solutions (2)
2,883 Views
10 Replies
Replies (10)
Message 2 of 11

johnjmbennett
Mentor
Mentor
Accepted solution

 

 

look at process from GBR , you will see this type of file naming for parts and assemblies,  using the position number rather than the drawing number.

 

you need to combine the sequence token into the overall file name.

 

  • Sequence number (%SequenceNumber)

    This token is used together with other tokens. It creates a sequence of other tokens attached to the name to differentiate them. It can be used, for example, together with Position Number, for instances when two or several drawings contain the same MP number, for example 1000. In this instance, both drawings will have the Position Number 1000, but the sequence number will be 1 and 2.

%PosNum %SequenceNumber(02).dwg

 

normally we would place a reference at the start to tell difference between part and assembly,  like an S or A 

 

file name selector.JPG

John Bennett
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 11

Buxtehude1963
Advocate
Advocate
Accepted solution

Hi,

i had same problem and i didnt find a solution but only a trick.

I use one freeware program for modify the name of all files in a folder.

It is not the best solution but it work.

0 Likes
Message 4 of 11

RonBuckingham
Advocate
Advocate

Thanks John,

 

I tried your suggestion, putting %PosNum %SequenceNumber(02).dwg in the filename selector. It doesn't add the drawing number anymore, but now it adds a number (sequence number) to the end of the filename. It's better than it was, but after trying all kinds of combinations of tokens and reading Buxtehude1963's reply, I'm starting to think I can't have it make filenames with just the %PosNum.dwg. (i.e. B25.dwg).

pic5.PNG

I think I should have initially used the numbering method "With Drawing Number" instead of "SP: 1000,1001..." but I'm too far along on this to renumber.

Ron

0 Likes
Message 5 of 11

johnjmbennett
Mentor
Mentor

There is an option in the doc manager to rename the drawing, I think you could remove the (01) from the name,  but you will have to do one at a time, this way you will maintain link to model.

the freeware referenced may remove links to model, but not personally tried anything like that, so good addition if it was possible.

please watch the with number drawing, it works, but it only has one string,  we ask many times for different internal number threads, to allow the drawing number thread  to be used all starting at 1. 

 

Maybe run some tests outside of the current project, when you have time.

 

 

John Bennett
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 6 of 11

Buxtehude1963
Advocate
Advocate

a little clarification...

I work normally, with the file number at the end of the name, I explode the drawings, I make a copy of the exploded drawings folder and only on this copy I go to change the name of the file eliminating the last characters

0 Likes
Message 7 of 11

crydee-AG1
Mentor
Mentor

Hi,

 

The file name selector must result in a guaranteed UNIQUE file name. If it could result in the same name for more than one file (even if that is only for 2 drawings of the same assembly or part, something that is rarely required) then the system will force the dawing number into the filename. The sequence number is a shorter alternative.

 

Just the part number will result in the same name if two drawings are done for the same part so it is overruled and the drawing number is added by the system. 

Aleck Giles,
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

LinkedIn

Autodesk Certified Instructor - Gold

0 Likes
Message 8 of 11

RJR89
Enthusiast
Enthusiast

I actually want the drawing number and file number to be the same but cant find a combo that works.

 

If i have a beam assembly part mark of B20 within model 001-001.dwg

 

I want model name-part mark, so 001-001-B20.dwg 

 

Im try %modelname%partno

 

Buts its adding about 6 figiures on the end so filename ends up like 001-001-B20XXXXXX.dwg

 

Is their a way to omitt the added figures at the end?

0 Likes
Message 9 of 11

johnjmbennett
Mentor
Mentor

Hi,

 

if you look back in this thread, you will see I mention the sequence number,  you need to add this into the file name selector to stop the additional numbers after the part number.

 

‘you need to combine the sequence token into the overall file name.

 

  • Sequence number (%SequenceNumber)

    This token is used together with other tokens. It creates a sequence of other tokens attached to the name to differentiate them. It can be used, for example, together with Position Number, for instances when two or several drawings contain the same MP number, for example 1000. In this instance, both drawings will have the Position Number 1000, but the sequence number will be 1 and 2.

%PosNum %SequenceNumber(02).dwg

 

normally we would place a reference at the start to tell difference between part and assembly,  like an S or A ‘

 

there is no way round this, this is the way.

 

cheers

 

 

 

 

 

John Bennett
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 10 of 11

RJR89
Enthusiast
Enthusiast

Thanks again John, will need to experiment some more.

 

I'm starting to get the feeling that the numbering system may not be flexible enough to meet a range of client numbering systems.....

0 Likes
Message 11 of 11

RJR89
Enthusiast
Enthusiast

Hi John,

 

So I tried %ModelName-%PosNum-%SequenceNumber(03).dwg

 

Top level model/model name is 001-021.dwg

 

which would give 001-021-p300-001.dwg - which is a detail of a base plate.

 

Within the drawing title block I am able to add a field text within the of the file name.

 

which is so close to what I want which is just 001-021-p300.dwg

 

Frustratingly I can delete the %SequenceNumber(03) -001 bit within the Document Manager and it appears to A) maintain links B) rename the file and C) the file name updates the field text

0 Likes