Creates four sketch lines representing a rectangle where the first point represents the center of the rectangle. The second point is the corner of the rectangle and can be either an existing SketchPoint or Point3D object. The four sketch lines are returned.
"sketchLines_var" is a variable referencing a SketchLines object.
|
"sketchLines_var" is a variable referencing a SketchLines object.
|
Type | Description |
SketchLineList | Returns the four new sketch lines or null if the creation failed. |
Name | Type | Description |
centerPoint | Point3D | The center point of the rectangle |
cornerPoint | Base | The corner of the rectangle. It can be a SketchPoint or Point3D object. |
Name | Description |
API Sample that demonstrates creating sketch lines in various ways. | Demonstrates several ways to create sketch lines, including as the result of creating a rectangle. |
SketchLines.addCenterPointRectangle | Demonstrates the SketchLines.addCenterPointRectangle method. |