Catia contains a body that cannot be deleted in its tree structure in a part and boolean operations on that body cannot be performed (except "remove lump"), this body is called MainBody
(I have read about it on different pages not sure whether it's called MainBody
).
So the question is, how do you recognize Mainbody
in the Catia VBA (code)?
Here are some screenshots of the body in the UI to help visualise what I am trying to do:
The MainBody is accessible directly from the Part (for example):
Set oMainBody = CATIA.ActiveDocument.Part.Mainbody
Also, this body belongs to the Bodies-Collection of the part.