#TASK – Save Bodies As Assembly
Tips and Tricks • Mark Deng • 6 March 2019
In my previous blog (Click Here) , I have introduced the Save Bodies feature in SOLIDWORKS with saving different properties options.
In this blog, I will introduce the Save Bodies As Assembly tool in #TASK. If you have not heard of #TASK before, please have a read on our technical blog click Here.
In #TASK, there are 4 Arguments in the Save Bodies As Assembly tool: Output Part Names; Output Assembly Name; Destination Folder; and Options.
1. Output Part Names:
The Output Part Names options allow us to specify the name format for the newly generated parts (for each individual body).
There are some pre-defined variables we can use on the list:
Custom Property Value (you will need to specify the property value in this area)
SolidWorks Model Title
SolidWorks Active Model’s Configuration or Sheet Name
Current Body Index
Total Bodies Count
Body Name (This variable only picks up the Save Bodies feature name. Therefore, the resulting names will be Save Bodies; Save Bodies etc..)
Output Assembly Name (you can extract the output assembly name to be included as part of the new parts’ name)
2. Output Assembly Name:
You can specify a name for the new created Assembly or using predefined variables including:
Custom Property Value (you will need to specify the Custom Property Name)
SolidWorks Model Title
SolidWorks Active Model’s Configuration of Sheet Name
In this case study, I will specify the name of the output assembly as Save_Body_TEST.
3. Destination Folder:
This allows us to select the folder where all the newly created parts and assembly will be saved into.
There are 2 options we can select here: Consume Cut Bodies and Copy Custom Properties To New Parts.
When Consume Cut Bodies is enabled, the bodies in the original multi-body part will be deleted once the Save Bodies feature task is completed.
When Copy Custom Property To New Part is selected, all the new parts will inherit the custom properties from the original multi-body part.
(Note: the Save Bodies As Assembly task doesn’t give us the option to save the cut list properties, saving cut list properties can only be achieved through the Save Bodies feature in SOLIDWORKS)
Once everything is set, hit the “Run Job” button and the task will start to execute. Below is a screen shot showing the newly created assembly:
Here are the #TASK settings for this case study:
Output part name: Body Name
Output Assembly name: Save_Body_TEST
Options: Copy Custom Properties To New Parts
Below is a screen showing the custom properties of the new part. All the custom properties are inherited from the master muti-body part:
I hope this blog is useful. Please watch this space for more weekly tips and tricks.
Author: Mark Deng
Technical Support Engineer
Central Innovation Auckland, New Zealand
It’s something we’ve been doing for almost 30 years. Our commitment to customer service is second to none: we help you get the best out of your technology.
For a truly unique solution to your unique challenges, please contact us. Or read about some of the great services and solutions we offer.