codestack
codestack copied to clipboard
Part number generator
A script that works like this (see below) would be nice and save me a lot of clicks and copies. I have found a script that can do step 1-3 and then use that to save as part. But i need a little more functionality to really make use of it.
Start Macro ->
- Open textfile
- Extract some static string + integer from the textfile.
- Increase the integer with +1 and close the textfile.
- Adds the string + integer as a string to a Custom Property "Part Number". (This is important since 3DX use custom properties to define parts attribute. I guess this should be considered standard in the future...)
- Save part as "Part Number" + "Other property such as Description or Revision"
Either one macro for parts and one for assemblies . Or add some identifier. Really dosent matter.