Interface ICadApiExtrudeFeature
Extrude feature — builds a 3D body by sweeping a sketch face along
the sketch's normal. Mirrors GeCAD IExtrudeFeature.
Obtained from ICadApiModel.AddExtrude.
Assembly: CADAPI.Feature.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("5E2A44B6-1D8C-4A3F-8F56-0E9B2C7D83A4")]
public interface ICadApiExtrudeFeature : ICadApiFeature
Properties
BodyId
id of the body the boolean operation is applied against. For bo_Add/bo_Sub/bo_Int
this selects which existing body the swept volume is merged/cut/intersected with.
Empty string for bo_New (creates a fresh body).
Declaration
string BodyId { get; set; }
Property Value
Caption
Declaration
Property Value
Depth
Signed height of the extrusion measured from the sketch plane
along the sketch normal. Positive = up, negative = down.
Declaration
double Depth { get; set; }
Property Value
Id
Declaration
Property Value
Operation
Boolean operation against existing bodies, applied on Save.
bo_New = new body, bo_Add = union, bo_Sub = cut,
bo_Int = intersection, bo_Auto = engine decides.
Declaration
TCadApiBooleanOperation Operation { get; set; }
Property Value
Thickness
Shell thickness in model length units (used when UseThickness is true).
Declaration
double Thickness { get; set; }
Property Value
ThicknessDirection
Direction of the shell offset from the sketch face (used when UseThickness is true).
Declaration
bool ThicknessDirection { get; set; }
Property Value
TypeId
Declaration
Property Value
UseThickness
When true the extrusion is limited to a shell of Thickness
rather than a solid (open "thickness" extrusion).
Declaration
bool UseThickness { get; set; }
Property Value