Question about selecting single solid bodies from multibody parts for extrusion?

Question about selecting single solid bodies from multibody parts for extrusion?

J_Pfeifer_
Advocate Advocate
397 Views
2 Replies
Message 1 of 3

Question about selecting single solid bodies from multibody parts for extrusion?

J_Pfeifer_
Advocate
Advocate

Good afternoon, I've attached a couple of photos of a problem I'm experiencing and falling short with information gathering online. I have a multi-body part where I'm trying to apply bolt holes directly into the flange of the second solid in the part. From what I gathered this has to do with getting these objects into a collection for extrusions to apply to them. Could someone help me through selecting the second solid and applying it to a collection? I'll get back to this over the weekend, and I wish everyone well over their holiday's. 

 

 

 

 

 

 

 

 

 

 

 

@WCrihfield 

0 Likes
Accepted solutions (1)
398 Views
2 Replies
Replies (2)
Message 2 of 3

A.Acheson
Mentor
Mentor
Accepted solution

Hi @J_Pfeifer_ 

It should only be a matter of looping through the surfacebody collection and filtering the surfacebody you want and add it to the Bolt_Coll collection.

Syntax

PartComponentDefinition.SurfaceBodies() As SurfaceBodies

 

From this help page here the setaffectedbodies method expects a surfacebody object.

 

I haven't done this in practice so maybe I might be missing some extra steps. Any issues post back. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 3

J_Pfeifer_
Advocate
Advocate

The surface body addition is exactly what I was looking for. Thanks friend. 

0 Likes