SketchLines.addThreePointRectangle Method
Parent Object:
SketchLinesDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchLines.h>
Description
Creates four sketch lines representing a rectangle where the first two points are the base corners of the rectangle and the third point defines the height.
Syntax
"sketchLines_var" is a variable referencing a SketchLines object.returnValue = sketchLines_var.addThreePointRectangle(pointOne, pointTwo, pointThree)
|
"sketchLines_var" is a variable referencing a SketchLines object.
#include <Fusion/Sketch/SketchLines.h>
returnValue = sketchLines_var->addThreePointRectangle(pointOne, pointTwo, pointThree);
|
Return Value
SketchLineList |
Returns the four new sketch lines or null if the creation failed. |
Parameters
pointOne |
Base |
The first corner of the rectangle. It can be a SketchPoint or Point3D object. |
pointTwo |
Base |
The first corner of the rectangle. It can be a SketchPoint or Point3D object. |
pointThree |
Point3D |
The first corner of the rectangle. a Point3D object defining the height of the rectangle. |
Samples
Version
Introduced in version August 2014