LineOnPlanarSurfaceConstraint.line Property

Parent Object: LineOnPlanarSurfaceConstraint
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/LineOnPlanarSurfaceConstraint.h>

Description

Returns the SketchLine object that is constrained.

Syntax

"lineOnPlanarSurfaceConstraint_var" is a variable referencing a LineOnPlanarSurfaceConstraint object.

# Get the value of the property.
propertyValue = lineOnPlanarSurfaceConstraint_var.line
"lineOnPlanarSurfaceConstraint_var" is a variable referencing a LineOnPlanarSurfaceConstraint object.
#include <Fusion/Sketch/LineOnPlanarSurfaceConstraint.h>

// Get the value of the property.
Ptr<SketchLine> propertyValue = lineOnPlanarSurfaceConstraint_var->line();

Property Value

This is a read only property whose value is a SketchLine.

Version

Introduced in version September 2023