Automatic File Naming - Cannot Use Only %PosNum

Automatic File Naming - Cannot Use Only %PosNum

Lewk_PSB
Advocate Advocate
1,149 Views
8 Replies
Message 1 of 9

Automatic File Naming - Cannot Use Only %PosNum

Lewk_PSB
Advocate
Advocate

So I would like the file names to be the same as the part numbers for single part drawings. Unfortunately, it seems that isn't possible because apparently the Drawing Name per the Filename Selector in the Drawing Process Manager doesn't know what to do when %Flat(01) isn't used. This is rather irritating because I would like my part sheet drawing number to be the same as the part. Instead, here's what happens:

Lewk_PSB_0-1687380302543.pngLewk_PSB_1-1687380316962.png

 

So I still have to manually change all of my drawing numbers for all of the part sheets, except now it's even more messy. This should not be the case, and instead AS just wants to shove a variable in there.

If anyone knows of a workaround, I'm all ears. Otherwise, there is a big waste of time for the hundreds of part sheets per project just in naming files correctly.

0 Likes
Accepted solutions (1)
1,150 Views
8 Replies
Replies (8)
Message 2 of 9

iwafb
Advisor
Advisor

You can definitely use the part numbers for your drawing file names. This is affected by the numbering as well though. So, you need to start by making sure you DO NOT use "with drawing number" for numbering option.

 

Once this is set, the objects will get their number from step one, which then translates to drawings getting created from a part number (both assemblies and parts) that actually exist.

 

From there, you just need to use the right (for you) tokens in the drawing names. You will see I prefix with ASS- and S-, this is because I set my "SP No (for main part) = Assembly No" in the numbering. If you don't have an identifier, the drawings will overwrite each other (or not get created).

 

Assembly setting:

 

iwafb_0-1687386981551.png

 

"ASS-" is just text, %Assembly is the "Lot-Phase" token (i like to use so I can add project specific drawing numbering requirements" %PosNum is the assembly mark %SequenceNumber(02) is a bonus. It adds the sheet number to the file. So if you need more than one sheet to detail an assembly, you will get drawing numbers followed by 01, 02, 03...

 

Parts setting:

 

iwafb_1-1687387172827.png

 

Hope this helps.

 

 

Message 3 of 9

iwafb
Advisor
Advisor

Of course, you will need to translate this to your prototypes so they're using the right tokens and populating automatically. You should not have to rename/edit/explode prototypes.

Message 4 of 9

Lewk_PSB
Advocate
Advocate

I do not want any tokens. I want the file name to be the same as the part number for single part drawings. I am reading in other threads that this is not possible. Namely, this thread: https://forums.autodesk.com/t5/advance-steel-forum/help-don-t-want-drawing-number-in-file-number/m-p...

0 Likes
Message 5 of 9

iwafb
Advisor
Advisor

I'm not sure I understand your issue. If you have a part number for an object and you use the filename settings in the process I gave you (adapted to your needs). You will get a drawing called B25 in a file called B25.dwg. You have to use tokens for this to happen.

Message 6 of 9

iwafb
Advisor
Advisor

iwafb_0-1687388694992.png

 

 

Message 7 of 9

Lewk_PSB
Advocate
Advocate

I'm looking at your picture here, and your files are not named with only your part number. I see your files are all set up as "S-<part number>-01-0." Your part number in the example is R-fp19, your file name is not R-fp19.dwg - which is how I want it. Your setup would include 'S-' and '%SequenceNumber(01)' in the file name. I understand your setup completely, it doesn't seem you understand how I want mine.

0 Likes
Message 8 of 9

Sebastian_Eiche
Mentor
Mentor
Accepted solution

if you use partnumber and not (as @iwafb drawingnumer for numebring) the software will always add the internal drawing number to your setting.

this is a historical behavior because there's everytime an internal drawing number needed to avoid a double filename.

one way could be to add the Flat(03) token but with a special character, so you could easy rename the file with a batch rename software.

There will always be an upd file to your dwg file, so both had to be renamed. For example:

  • choose the filename: %posnum_X_%flat(03)
  • create the files
  • start the batch rename tool and use the task: delete all characters .. "_x_"...

Sebastian Eiche
Application Engineer @Mensch und Maschine acadGraph

EESignature

If this information was helpful, please use the Accept as Solution function, this make it easier for other users

Message 9 of 9

Lewk_PSB
Advocate
Advocate

The JTB Batch Change tool seems like it would be worth it. Just have to convince my company to spend the extra money. I don't like having to add software with my company because we have an IT company handle all installs now (it's as "convenient" as it sounds).

Thanks Sebastian!

0 Likes