Hi everyone,
I am working with three Soldi bodies "Body1 as Boss-Extrude1", "Body2 as Boss-Extrude2", and "Body3 as Boss-Extrude3" and
I need to merge Body3 with Body2.
My problem is how do I get the information of Body2 so that I can select it and merge with Body3 using API?
My code is here:
ObjectCollection objCol = default(ObjectCollection);
objCol.Add(objInvOperationBossExtru.oCompDef.SurfaceBodies[2]);
............................
oExtrudeDef.AffectedBodies = objCol;
If I pass the id 2 then it selects the Body2 and gets merge with Body3 but I want to make it dynamic.
Please help me to solve my problem.
Regards,
I don't know if you need something complex but sometimes simple is easier. why not just make use of the Combine feature?
Can't find what you're looking for? Ask the community or share your knowledge.