Use a common number generator for item and file numbering scheme

Use a common number generator for item and file numbering scheme

jtrain
Enthusiast Enthusiast
990 Views
6 Replies
Message 1 of 7

Use a common number generator for item and file numbering scheme

jtrain
Enthusiast
Enthusiast

Looking for a way to define a numbering scheme for files and items that share an auto-generated portion.

The standard approach is for our item number to have the drawing number embedded within it, but sometimes we create items without drawings, or drawings without the item number embedded. This would require having numbering schemes available for both files and items.

 

For example:

Drawing 12345

Item with imbedded drawing number 12345-01

Drawing not primarily linked to item 12346

Item without drawing 12347-01

 

Is there a way, either through VDS, or code, for the auto-generated part of the numbering schemes to pull from the same generator or at least not duplicate this portion?

 

Thanks

 

0 Likes
991 Views
6 Replies
Replies (6)
Message 2 of 7

Markus.Koechl
Autodesk
Autodesk

Vault 2020 introduced a new option of implementing custom number generators/providers. Following this approach, you could implement a file numbering scheme and an item numbering scheme using the same number source. See this AKN article for more information and a sample: https://knowledge.autodesk.com/community/article/285736 

 

The legacy way to solve this continues being valid: create a file numbering and an item numbering scheme following the same pattern. Differentiate both by the range of numbers. I understand that this is not exactly matching your description; the new option mentioned first will solve it, but requires the custom implementation whereas the legacy approach is configured in some minutes.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes
Message 3 of 7

mrB_Young
Advocate
Advocate

I'm been looking in to this recently.  I know of the legacy method. 
But the article at AKN won't load for for me.  Has it been removed?

Is it the same as described here:
https://resources.imaginit.com/manufacturing-solutions-blog/using-a-common-numbering-scheme-for-file... 

Inventor user since 2009
Vault user since 2010
0 Likes
Message 4 of 7

Markus.Koechl
Autodesk
Autodesk

Unfortunately, this article got fewer clicks and did not move to the new support platform. I updated the GitHub repository with the documentation and supplemental files to resolve the issue. So, you find everything in a single spot. I hope this helps.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes
Message 5 of 7

mrB_Young
Advocate
Advocate

Thanks for that!  Seems easy enough to configure.

One further question, am I missing something here - why am I only seeing Simple Number Generator in the list for Select Numbering Generator?
Where are the other two alternatives?  I know that they've been there earlier.
I setup our Vault in 2021 using Vault Workgroup 2022 and put an auto number generator based on Simple Number Generator in place from the get go. Which works as intended.
Last year I migrated to Vault Pro 2023.  Upgraded to Vault Pro 2024 just this last weekend.

But now that I'm poking around again the looking at further customisation of the number generator, I don't have the choices for Custom or Centralized.
I upgraded to Vault Pro 2024 just this last weekend and now that I'm looking into customising the number generator further I don't have any choices.

Inventor user since 2009
Vault user since 2010
0 Likes
Message 6 of 7

Markus.Koechl
Autodesk
Autodesk
Due to the new replication mechanism, introduced with Vault 2022, the centralized scheme type is no longer required and got removed. The "custom" type will show up only, if you implemented a custom numbering provider as we do with the sample.


Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes
Message 7 of 7

mrB_Young
Advocate
Advocate
Ahhh! Thanks for clearing that up for me. 🙂
Inventor user since 2009
Vault user since 2010
0 Likes