Profile.parentSketch Property

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

Description

Returns the parent sketch of the profile.

Syntax

"profile_var" is a variable referencing a Profile object.

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

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

Property Value

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

Version

Introduced in version August 2014