Saving the pieces with a new part number to folders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
my company has decided that when we create an assembly in a folder, every piece within the assembly should be saved in a folder in the same folder the assembly is.
Up to this point there is no problem. Here is the catch: every piece has to have a part number relative to wich one is bigger, the bigger the piece, the smaller the number starting with 001, 002, 003.... (obviously this does not aply if there are content center parts)
On top of that, each part has to be in a folder named after the assembly and that part number
For example if an assembly is called 0440-3-Z-1000.iam
and it's made out of 4 pieces 3 normal ipts and one from the content center
the pieces should have the part numbers: 001, 002 and 003 starting with the bigger piece.
The content center piece should remain untouched.
The folder of the assembly is called 0440-3-Z-1000 and the folder of each file should be 0440-3-Z-1000-001 (with the 001 part inside), 0440-3-Z-1000-002 (with the 002 part inside) and 0440-3-Z-1000-003 (with the part inside)
Is there a way to automate this? we have assemblies with hundreds of parts sometimes and it will be a nightmare if we don't find a way to make this automatically.
(It is better if the part number is assigned by one lisp and the folder and save thing is made by another one)
Thankyou all, I hope you can help me