Class CadApiBodyHelper
Inheritance
CadApiBodyHelper
Assembly: CADIPC.DotnetHelper.dll
Syntax
public static class CadApiBodyHelper
Methods
Caption(ComWrapper<ICadIpcBody>)
Human-readable caption shown in the feature tree.
Declaration
public static string Caption(this ComWrapper<ICadIpcBody> bodyCom)
Parameters
Returns
EdgeCount(ComWrapper<ICadIpcBody>)
Number of edges in this body's topology.
Declaration
public static int EdgeCount(this ComWrapper<ICadIpcBody> bodyCom)
Parameters
Returns
EdgeId(ComWrapper<ICadIpcBody>, int)
Stable string handle of the edge at the given zero-based index. Pass
into ICadIpcModel.AddFillet/AddChamfer.
Declaration
public static string EdgeId(this ComWrapper<ICadIpcBody> bodyCom, int index)
Parameters
Returns
FaceCount(ComWrapper<ICadIpcBody>)
Number of faces in this body's topology.
Declaration
public static int FaceCount(this ComWrapper<ICadIpcBody> bodyCom)
Parameters
Returns
FaceId(ComWrapper<ICadIpcBody>, int)
Stable string handle of the face at the given zero-based index. Pass
into ICadIpcModel.AddDraft.
Declaration
public static string FaceId(this ComWrapper<ICadIpcBody> bodyCom, int index)
Parameters
Returns
GetBoxMax(ComWrapper<ICadIpcBody>)
Maximum corner of the body's axis-aligned bounding box.
Declaration
public static TST3DPoint GetBoxMax(this ComWrapper<ICadIpcBody> bodyCom)
Parameters
Returns
GetBoxMin(ComWrapper<ICadIpcBody>)
Minimum corner of the body's axis-aligned bounding box.
Declaration
public static TST3DPoint GetBoxMin(this ComWrapper<ICadIpcBody> bodyCom)
Parameters
Returns
Id(ComWrapper<ICadIpcBody>)
Stable string handle of this body inside the model (e.g. "#Body(E1)").
Declaration
public static string Id(this ComWrapper<ICadIpcBody> bodyCom)
Parameters
Returns
IsSolid(ComWrapper<ICadIpcBody>)
True if this body is a closed solid; false for an open shell.
Declaration
public static bool IsSolid(this ComWrapper<ICadIpcBody> bodyCom)
Parameters
Returns