Sketch.profiles Property

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

Description

Returns the profiles currently computed for the sketch.

Syntax

"sketch_var" is a variable referencing a Sketch object.
# Get the value of the property.
propertyValue = sketch_var.profiles
"sketch_var" Is a variable referencing a Sketch Object.
#include <Fusion/Sketch/Sketch.h>

// Get the value of the property.
Ptr<Profiles> propertyValue = sketch_var->profiles();
"sketch_var" Is a variable referencing a Sketch Object.
// Get the value of the property.
propertyValue = sketch_var.profiles;

Property Value

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

Samples

Name Description
Loft Feature API Sample

Demonstrates creating a new loft feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Patch Feature API Sample

Demonstrates creating a new patch feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Simple Extrusion Sample

Demonstrates creates a new extrusion feature, resulting in a new component.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Simple Revolve Feature Sample

Demonstrates creates a new revolve feature, resulting in a new component.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version August 2014