Simplify function at body level

Simplify function at body level

Michele_DeLucaSW7PJ
Contributor Contributor
181 Views
1 Reply
Message 1 of 2

Simplify function at body level

Michele_DeLucaSW7PJ
Contributor
Contributor

Hi everybody

I'm trying to simplify an assembly with mix of subassemblies, parts inside it. there are parts that have many bodies inside it like fasteners of 30mm for example and those are not seen in the "Excluded components" function because it only exclude parts and not bodies.. so even if i put max diagonal of 200mm that body fastener inside the part will always be there..

there is a way to make this simplify function work with bodies? if not how to convert all bodies of these parts in the assembly and subassembly into parts in one shot with ilogic?

 

thank you for the help guys!

Michele_DeLucaSW7PJ_0-1720595592065.png

Michele_DeLucaSW7PJ_1-1720595695372.png

 

0 Likes
182 Views
1 Reply
Reply (1)
Message 2 of 2

Stakin
Collaborator
Collaborator

Are you test derive assembly to one solid part?

Or,you can delete it by volum of the body or the name of it;when deriving.

I have previously written a similar code snippet, which looks consistent with what you requested. But now I can't find it. What a pity.

The idea is as follows:
1. Open the overall assembly model
2. Save the overall assembly model, its parts, and sub assembly components as a new file.
3. Open the new component and perform discrimination and operation on each instance, such as assembly parts. Delete the parts you want to remove based on their names or other characteristics. For parts, judge each entity based on the conditions you provide (such as volume, diameter, name, or others), and delete those that meet the criteria.
4. Save

 

Alternatively, when you derive components, you can simply perform operations similar to the third step to remove non compliant parts from the selection set.

 

 

0 Likes