Interface ICadApiBody
A single 3D body in a CAD model — the unit of geometry kept in
ICadApiModel.Parts. Mirrors GeCAD ICADBody: a connected collection
of faces and edges (either a closed solid or an open shell) with
its own local coordinate system. Bodies are produced by features
in the feature tree (import, extrude, revolve, sweep, merge);
fillets/drafts/offsets/deletes modify existing ones in place.
Assembly: CADAPI.Body.dll
Syntax
[Guid("8C0FA9E2-7A6E-4E9B-9D3F-2D5E8C1A4B70")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICadApiBody
Properties
Caption
Human-readable caption shown in the feature tree (e.g. "#Part_1").
Declaration
Property Value
Id
Stable string handle of this body inside the model (e.g.
"#Body(Imp1:0)"). Use this when later operations need to refer
back to a specific body — captions can be renamed by the user.
Declaration
Property Value
IsSolid
True if this body is a closed solid; false for an open shell.
Declaration
Property Value
Methods
GetBoxMax(out double, out double, out double, out TResultStatus)
Declaration
void GetBoxMax(out double X, out double Y, out double Z, out TResultStatus ret)
Parameters
GetBoxMin(out double, out double, out double, out TResultStatus)
Declaration
void GetBoxMin(out double X, out double Y, out double Z, out TResultStatus ret)
Parameters