You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic part numbering 1, lets call this APN, is a very nice to have feature. In many companies they use APN but not in all. APN most of the times come together with a custom versioning scheme 2.
For instance we can use the json file format to implement APN. When a file that is called AutoPartNumber.json is placed inside the directory vaults/.data/yourvault then (after this feature is implemented) it should work3.
An example looks like this:
{
“prefix”: “4022-077-”,
“with_zero”: ”yes”, // otherwise it would use the space character
“number_digits”: 5,
“starts_with”: 500,
}
This generates the number (after renaming the file) 4022-077-00500.fcasm, 4022-077-00501.fcdrw, 4022-077-00502.fcprt, and so on.
A different example:
{
“with_zero”: ”yes”, // otherwise it would use the space character
“number_digits”: 6,
“special_character”: [
{
“index”: 2,
“character”: “ “
},
{
“index”: 4,
“character”: “-“
},
],
}
This generates the number 00 00-00.fcasm, 00 00-01.fcdrw, 00 00-02.fcprt, and so on.
To put this file there you first need to chmod the vault and then the .data and after that the yourvault directories. Type chmod yourdir 0777 in the server ↩
There is a magic word with the name " variable". This means that you can put your text into there. ↩↩2
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Automatic part numbering 1, lets call this APN, is a very nice to have feature. In many companies they use APN but not in all. APN most of the times come together with a custom versioning scheme 2.
For instance we can use the json file format to implement APN. When a file that is called AutoPartNumber.json is placed inside the directory
vaults/.data/yourvault
then (after this feature is implemented) it should work3.An example looks like this:
This generates the number (after renaming the file)
4022-077-00500.fcasm
,4022-077-00501.fcdrw
,4022-077-00502.fcprt
, and so on.A different example:
This generates the number
00 00-00.fcasm
,00 00-01.fcdrw
,00 00-02.fcprt
, and so on.Keywords
What are your thoughts?
Footnotes
https://www.buyplm.com/plm-good-practice/part-numbering-system-software.aspx ↩
We will also put a custom versioning scheme issue here. See Custom Versioning scheme #93 ↩
To put this file there you first need to chmod the vault and then the .data and after that the yourvault directories. Type
chmod yourdir 0777
in the server ↩There is a magic word with the name " variable". This means that you can put your text into there. ↩ ↩2
Beta Was this translation helpful? Give feedback.
All reactions