Creates a new ExtrudeFeatureInput object that is used to specify the input needed to create a new extrude feature.
"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 |
| ExtrudeFeatureInput | Returns the newly created ExtrudeFeatureInput object 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. To create a surface (non-solid) extrusion, you can use the createOpenProfile and createBRepEdgeProfile methods of the Component object to create an open profile. You also need to set the isSolid property of the returned ExtrudeFeatureInput property to False. |
| 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. |
| 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. |