Method that creates a straight slot. The sketch entities represent the sketch slot are returned.
| Name | Type | Description |
| StartPoint | Object | Input Point2d or SketchPoint object that defines the starting center point of the straight slot. |
| EndPoint | Object | Input Point2d or SketchPoint object that defines the ending center point of the straight slot. |
| Width | Double | Input Double that specifies the width of the straight slot in centimeters. |
| Name | Description |
| Create slots in sketch. | This sample demonstrates several new methods to create sketch entities that represent slots. These are the equivalent to new sketch commands that were added in Inventor 2014. |