OffsetConstraint.parentSketch Property

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

Description

Returns the parent sketch object.

Syntax

"offsetConstraint_var" is a variable referencing an OffsetConstraint object.

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

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

Property Value

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

Version

Introduced in version March 2016