SketchCurves.sketchLines Property

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

Description

Returns the sketch lines collection associated with this sketch. This provides access to the existing sketch lines and supports the creation of new sketch lines.

Syntax

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

// Get the value of the property.
Ptr<SketchLines> propertyValue = sketchCurves_var->sketchLines();
"sketchCurves_var" Is a variable referencing a SketchCurves Object.
// Get the value of the property.
propertyValue = sketchCurves_var.sketchLines;

Property Value

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

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.

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