Parent Object: BRepBodies Defined in namespace "adsk::fusion" and the header file is <Fusion/BRep/BRepBodies.h>
Description
Creates a new BRepBody object. The input can be a persisted or transient BRepBody and the result is a persisted BRepBody. In a model where the design history is ignored (direct edit model) the BRepBody is created within the component the BRepBodies collection was obtained from. In a model where the design history is captured (parametric model), the new BRepBody is created within the specified Base Feature.
Because of a current limitation, if you want to create a BRepBody in a parametric model, you must first call the edit method of the base feature, then use the add method to create the body, and finally call the finishEdit method of the base feature. The base feature must be in an "edit" state to be able to add any additional items to it.
The input BRepBody. Typically this is a transient BRepBody but that's not a requirement. In any case, there is not any association back to the original BRepBody.
The BaseFeature object that this B-Rep body will be associated with. This is an optional requirement but is required when the model design history is being captured (parametric model) but is ignored otherwise (direct edit model).
This is an optional argument whose default value is null.