SketchEntity.parentSketch Property

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

Description

Returns the parent sketch.

Syntax

"sketchEntity_var" is a variable referencing a SketchEntity object.

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

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

Property Value

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

Version

Introduced in version August 2014