PerpendicularToSurfaceConstraint.surface Property

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

Description

Returns the BRepFace or ConstructionPlane the line is constrained to be perpendicular to.

Syntax

"perpendicularToSurfaceConstraint_var" is a variable referencing a PerpendicularToSurfaceConstraint object.

# Get the value of the property.
propertyValue = perpendicularToSurfaceConstraint_var.surface
"perpendicularToSurfaceConstraint_var" is a variable referencing a PerpendicularToSurfaceConstraint object.
#include <Fusion/Sketch/PerpendicularToSurfaceConstraint.h>

// Get the value of the property.
Ptr<Base> propertyValue = perpendicularToSurfaceConstraint_var->surface();

Property Value

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

Version

Introduced in version September 2023