Sketch.sketchCurves Property

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

Description

Returns the sketch curves collection associated with this sketch. This provides access to the existing sketch curves which is all geometry in the sketch except for sketch points. It is through this collection that new sketch geometry gets created.

Syntax

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

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

Property Value

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

Samples

Name Description
API Sample that demonstrates creating sketch lines in various ways.

Demonstrates several ways to create sketch lines, including as the result of creating a rectangle.

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

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