Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I have need to copy and rename a manufacturing assembly, with all of it's components, but I am struggling to figure out how to do this while maintaining all of the assembly references. Basically, I am looking for the equivalent ofFile->"Save a Copy". When you save a copy of a manufactuing assembly, pro prompts you to rename the assembly, and then each component.I am working with the VB API in wildfire 4, and I would rather not call a macro or a toolkit dll. Could anyone be of assistance here?
Thanks in advance,
Corey
Hi all,
Corey,
Copying and renaming manufacturing assembly process is verysimilar to amanual one...
The most simplistic case - no models in session
- create temporary directory
- change working directory to where an assembly tobe processedis located
- set config optionsrelated toretrieval of merged and referenced geometry to retrieve...
- retrieve an assembly in question into session
- change working directory to temporary directory
- backup models to temporary directory
- erase all models from session
- retrieve the assembly from the temporary directory
- rename models in session
- backup to the specified directory
- remove temporary directory.
HIH.
Feliks.
In Reply to Corey Van Sickle:
I have need to copy and rename a manufacturing assembly, with all of it's components, but I am struggling to figure out how to do this while maintaining all of the assembly references. Basically, I am looking for the equivalent ofFile->"Save a Copy". When you save a copy of a manufactuing assembly, pro prompts you to rename the assembly, and then each component.I am working with the VB API in wildfire 4, and I would rather not call a macro or a toolkit dll. Could anyone be of assistance here?
Thanks in advance,
Corey