Create Parts from Selecting Geometry

From gtwiki

Jump to: navigation, search

Need to export a several objects from one part into many and keep it live? This script will produce this functionality.


«««(?)

Contents

Script Description

This tool allows a user to select curves, surfaces, or Bodies from one or more CATParts in an assembly and create a list of individual CATParts dedicated to the linked geoemtry. This sort of application is good for sequencing and also breaking down a model for fabrication.


Restrictions

Users cannot work from a Part. The lead Product must be activated.
The second release now allows for OGS and A&S objects. This will only transfer the first level of elements though. (OGS's inside OGS's will not transfer, so Windows and Doors will not be copied.) Also, there is some limited capabilities with UDF's. It will transfer the lead UDF object, but not the sub-elements. This is due to a bug with parenting in UDF structures.

Script Notes

Also there is a bug with one of the commands in the script. It will prompt the user with a message box saying "No command found: Undo," but this will not impact the script. Click OK, and it will continue. (Note: if you do not want this message to occur, activate a part or make a point. Then go to "Edit" > "Undo." By doing this, the message box will not appear in future executions of the code.)



"Partinator" Script Use

Download Script Version 2. January 29, 2009 (Allows OGS & A&S transfer, and some UDF capabilities.)

Download Script Version 1. January 26, 2009

Here are some directions on how to load up your script and run the module.



Archived Versions of the Script

None.



Personal tools