Class ExtrudeFeatureHelper
Helper extensions for ICadApiExtrudeFeature.
Inherited Members
Namespace: CADAPI.DotnetHelper
Assembly: CADAPI.DotnetHelper.dll
Syntax
public static class ExtrudeFeatureHelper
Methods
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
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICadApiExtrudeFeature> | extCom |
Returns
| Type | Description |
|---|---|
| double |
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
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICadApiExtrudeFeature> | extCom | |
| double | value |