Class ExtrudeFeatureHelper
Inheritance
ExtrudeFeatureHelper
Assembly: CADAPI.DotnetHelper.dll
Syntax
public static class ExtrudeFeatureHelper
Methods
BodyId(ComWrapper<ICadApiExtrudeFeature>)
Declaration
public static string BodyId(this ComWrapper<ICadApiExtrudeFeature> extCom)
Parameters
Returns
Depth(ComWrapper<ICadApiExtrudeFeature>)
Signed height of the extrusion measured from the sketch plane
along the sketch normal. Positive = up, negative = down.
Model must be saved after a write before geometry updates.
Declaration
public static double Depth(this ComWrapper<ICadApiExtrudeFeature> extCom)
Parameters
Returns
Operation(ComWrapper<ICadApiExtrudeFeature>)
Boolean operation applied against existing bodies on Save.
Model must be saved after a write before geometry updates.
Declaration
public static TCadApiBooleanOperation Operation(this ComWrapper<ICadApiExtrudeFeature> extCom)
Parameters
Returns
SetBodyId(ComWrapper<ICadApiExtrudeFeature>, string)
Set the target body for the boolean operation. Call model.Save() to materialise the change.
Declaration
public static void SetBodyId(this ComWrapper<ICadApiExtrudeFeature> extCom, string value)
Parameters
SetDepth(ComWrapper<ICadApiExtrudeFeature>, double)
Set extrusion depth. Call model.Save() to materialise the body change.
Declaration
public static void SetDepth(this ComWrapper<ICadApiExtrudeFeature> extCom, double value)
Parameters
SetOperation(ComWrapper<ICadApiExtrudeFeature>, TCadApiBooleanOperation)
Set boolean operation. Call model.Save() to materialise the change.
Declaration
public static void SetOperation(this ComWrapper<ICadApiExtrudeFeature> extCom, TCadApiBooleanOperation value)
Parameters
SetThickness(ComWrapper<ICadApiExtrudeFeature>, double)
Set shell thickness. Call model.Save() to materialise the change.
Declaration
public static void SetThickness(this ComWrapper<ICadApiExtrudeFeature> extCom, double value)
Parameters
SetThicknessDirection(ComWrapper<ICadApiExtrudeFeature>, bool)
Set shell offset direction. Call model.Save() to materialise the change.
Declaration
public static void SetThicknessDirection(this ComWrapper<ICadApiExtrudeFeature> extCom, bool value)
Parameters
SetUseThickness(ComWrapper<ICadApiExtrudeFeature>, bool)
Enable/disable shell extrusion. Call model.Save() to materialise the change.
Declaration
public static void SetUseThickness(this ComWrapper<ICadApiExtrudeFeature> extCom, bool value)
Parameters
Thickness(ComWrapper<ICadApiExtrudeFeature>)
Shell thickness in model length units (used when UseThickness is true).
Declaration
public static double Thickness(this ComWrapper<ICadApiExtrudeFeature> extCom)
Parameters
Returns
ThicknessDirection(ComWrapper<ICadApiExtrudeFeature>)
Shell offset direction from the sketch face (used when UseThickness is true).
Declaration
public static bool ThicknessDirection(this ComWrapper<ICadApiExtrudeFeature> extCom)
Parameters
Returns
UseThickness(ComWrapper<ICadApiExtrudeFeature>)
Declaration
public static bool UseThickness(this ComWrapper<ICadApiExtrudeFeature> extCom)
Parameters
Returns