GeometricConstraints.addLineOnPlanarSurface Method
Parent Object:
GeometricConstraintsDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/GeometricConstraints.h>
Description
Creates a new constraint that forces the sketch line to lie on a planar surface.
Syntax
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.returnValue = geometricConstraints_var.addLineOnPlanarSurface(line, planarSurface)
|
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
#include <Fusion/Sketch/GeometricConstraints.h>
returnValue = geometricConstraints_var->addLineOnPlanarSurface(line, planarSurface);
|
Return Value
Parameters
line |
SketchLine |
The SketchLine to constrain to the surface. |
planarSurface |
Base |
The planar BRepFace or CosntructionPlane the sketch line will lie on. |
Version
Introduced in version September 2023