Line¶
Line feature creates a line segment by two points in the current Sketch.
To add a new Line to the Sketch:
select in the Main Menu Sketch - > Line item or
click Line button in Sketch toolbar:
The following property panel appears:
Pick 2 points (start and end) in the view to create a Line. If an existing object is clicked, a constraint for the point will be created automatically.
Start and end points coordinates are displayed in the property panel.
TUI Command:
-
Sketch_1.addLine(X1, Y1, X2, Y2)*
- Parameters
real – X1 value.
real – Y1 value.
real – X2 value.
real – Y2 value.
- Returns
Result object.
Result¶
Created line appears in the view.
See Also a sample TUI Script of Create Sketch Line operation.