GeometricConstraint.parentSketch Property

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

Description

Returns the parent sketch object.

Syntax

"geometricConstraint_var" is a variable referencing a GeometricConstraint object.

# Get the value of the property.
propertyValue = geometricConstraint_var.parentSketch
"geometricConstraint_var" is a variable referencing a GeometricConstraint object.
#include <Fusion/Sketch/GeometricConstraint.h>

// Get the value of the property.
Ptr<Sketch> propertyValue = geometricConstraint_var->parentSketch();

Property Value

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

Version

Introduced in version August 2014