Creates a basic extrusion that goes from the profile plane the specified distance.
"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object. |
"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object. |
"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object. |
| Type | Description |
| ExtrudeFeature | Returns the newly created ExtrudeFeature or null if the creation failed. |
| Name | Type | Description |
| profile | Base | The profile argument can be a single Profile, a single planar face, a single SketchText object, or an ObjectCollection consisting of multiple profiles, planar faces, and sketch texts. When an ObjectCollection is used all of the profiles, faces, and sketch texts must be co-planar. This method can only be used to create solid extrusions. To create a surface extrusion you need to use the add method. |
| distance | ValueInput | ValueInput object that defines the extrude distance. A positive value extrudes in the positive direction of the sketch plane and negative value is in the opposite direction. |
| operation | FeatureOperations | The feature operation to perform. |
| Name | Description |
| Extrude Feature API Sample | Demonstrates creating a new extrude feature. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. The script uses the timeline (<code>rollTo</code>) to inspect feature history. |
| Move Feature API Sample | Demonstrates creating a new move feature. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Manage Participant Bodies API Sample | Demonstrates how to manage participant During Cut operation. Same API can be used to manage participants During intersection also. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Patch Feature API Sample | Demonstrates creating a new patch feature. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| ReplaceFace Feature | Demonstrates creating a new replaceface feature. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Shell Feature API Sample | Demonstrates creating a new shell feature. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Simple Extrusion Sample | Demonstrates creates a new extrusion feature, resulting in a new component. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Creates an I-Bream on a User Coordinate System | Demonstrates the use of an existing user coordinate system to create geometry dependent on it. Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground. |