method: Convert to body

Does anyone know if there is a method in the API for the Convert to Body function?
I have recorded the steps, but it looks like the function is not logged.
2023-03-10 08_27_58-Window.png

SPR 880569: Need a new API method for function Convert to bodies.

grumph <()>

still thanks for the SPR Nummber

Maybe that will help you (although I’m not sure what you want to do): https://www.cadforum.net/viewtopic.php?t=1968

I’ve just seen that the solution there also has been posted by JSculley

I just checked the status of SPR 880569 in the knowledge base. The SPR is from 2020—and it’s still open in 2026!
This brings me one step closer to leaving maintenance. :worried:

I don’t think this will work, but I’ll post it just in case.
You can make a copy of the body or bodies
IBody2.Copy2
then create an Imported Feature from this body in a new part
IPartDoc.CreateFeatureFromBody3
But this isn’t exactly the same as Convert to Bodies, which preserves geometry links to other files.