Copy Faces In One Part, Sculpt to another

Copy Faces In One Part, Sculpt to another

cencinaNB2ET
Advocate Advocate
250 Views
1 Reply
Message 1 of 2

Copy Faces In One Part, Sculpt to another

cencinaNB2ET
Advocate
Advocate

Hi,

 

The trimming process seems to be very widely used.

As Seen on this thread:

 

https://forums.autodesk.com/t5/inventor-forum/trimming-intersecting-parts-in-an-assembly/td-p/281259...

 

 

but I have an issue that i wont know that parts will be in my assembly and need to automate this process.

 

So far I only found a similar code from Brain Ekins:

 

http://adndevblog.typepad.com/manufacturing/2013/09/copying-a-body-from-one-part-into-another-part.h...

 

But it only addresses kPartBodyFilter as SurfaceBodyProxy

 

I tried looking into the API to know how to change that selection to a face but was not able to.

 

Im after not having a selection process but rather a predetermined face number example: face(3)

 

Then comes the sculpting process, which I believe its much more straight forward.

 

 

Any ideas???

 

 

Thanks

 

 

 

 

 

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

JaneFan
Autodesk
Autodesk

Hello,

 

To change selection filter to face:

Dim oFace As FaceProxy
Set oFace = ThisApplication.CommandManager.Pick(kPartFaceFilter, "Select a Face to copy.")




Jane Fan
Inventor/Fusion QA Engineer
0 Likes