Method that creates the SweepDefinition object.
| Name | Type | Description |
| SweepType | SweepTypeEnum | Input SweepTypeEnum indicates which sweep type you will use to create the sweep feature. |
| Profile | Profile | Input Profile object used to define the shape of the sweep. |
| Path | Path | Input entity that defines the path of the sweep. Use the CreatePath or CreateSpecifiedPath methods on the PartFeatures object to create a Path. The path can be a combination of 2D and 3D sketch elements and can be open or closed. |
| Operation | PartFeatureOperationEnum | Input constant that indicates the type of operation to perform. Valid input is kJoinOperation, kCutOperation, kIntersectOperation, kSurfaceOperation or kNewBodyOperation. |