Creates a SweepFeatureInput object for defining a simple sweep feature with only a path and no guide rail or surface. Use properties and methods on this object to define the sweep you want to create and then use the Add method, passing in the SweepFeatureInput object.
"sweepFeatures_var" is a variable referencing a SweepFeatures object. |
"sweepFeatures_var" is a variable referencing a SweepFeatures object. |
"sweepFeatures_var" is a variable referencing a SweepFeatures object. |
| Type | Description |
| SweepFeatureInput | Returns the newly created SweepFeatureInput object or null if the creation failed. |
| Name | Type | Description |
| profile | Base | The profile argument can be a single Profile, a single planar face, or an ObjectCollection consisting of multiple profiles and planar faces. When an ObjectCollection is used all of the profiles and faces must be co-planar. |
| path | Path | The path to create the sweep. |
| operation | FeatureOperations | The feature operation to perform |
| Name | Description |
| Sweep Feature API Sample | Demonstrates creating a new sweep feature. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |
| Sweep with guide rail Feature API Sample | Demonstrates creating a new Sweep feature that uses a guide rail along with a profile. Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground. No open document is required; the script creates a new design (or additional documents) as it runs. |
| Two Rail Sweep Feature API Sample | Demonstrates creating new two rail sweep feature. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |