Sketch.AddStraightSlotByOverall Method
Parent Object:
Sketch
Description
Method that creates a straight slot. The sketch entities represent the sketch slot are returned.
Remarks
No dimension constraints are created.
Syntax
Sketch.
AddStraightSlotByOverall(
StartPoint As Object,
EndPoint As Object,
Width As Double ) As
SketchEntitiesEnumerator
Parameters
StartPoint |
Object |
Input Point2d or SketchPoint object that defines the overall start point. The overall start point is a midpoint of the first arc of the straight slot. |
EndPoint |
Object |
Input Point2d or SketchPoint object that defines the overall end point. The overall end point is a midpoint of the second arc of the straight slot. |
Width |
Double |
Input Double that specifies the width of the straight slot in centimeters. |
Samples
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. |
Version
Introduced in version 2014