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();

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.
GeometricConstraint.addMidPont Demonstrate the GeometricConstraint.addMidPont method.
GeometricConstraints.addCoincident Demonstrates the GeometricConstraints.addCoincident method.
Loft Feature API Sample Demonstrates creating a new loft feature.
Patch Feature API Sample Demonstrates creating a new patch feature.
Simple Extrusion Sample Creates a new extrusion feature, resulting in a new component.
Simple Revolve Feature Sample Creates a new revolve feature, resulting in a new component.
SketchArcs.addByCenterStartSweep Demonstrates the SketchArcs.addByCenterStartSweep method.
SketchArcs.addByThreePoints Demonstrates the SketchArcs.addByThreePoints method.
SketchArcs.addFillet Demonstrates the SketchArcs.addFillet method.
SketchArcs.extend Demonstrates the SketchArc.extend method.
SketchArcs.split Demonstrates the SketchArc.split method.
SketchArcs.trim Demonstrates the SketchArc.trim method.
SketchCircles.addByThreePoints Demonstrates the SketchCircles.addByThreePoints method.
SketchCircles.addByThreeTangents Demonstrates the SketchCircles.addByThreeTangets method.
SketchCircles.addByTwoPoints Demonstrates the SketchCircles.addByTwoPoints method.
SketchCircles.addByTwoTangents Demonstrates the SketchCircles.addByTwoTangets method.
SketchDimensions.addDiameterDimension Demonstrates the SketchDimension.addDiameterDimension method.
SketchEllipses.add Demonstrates the SketchEllipses.add method.
SketchFittedSplines.add Demonstrates the SketchFittedSplines.add method.
SketchFixedSplines.addByNurbsCurve Demonstrates the SketchFixedSplines.addByNurbsCurve method.
SketchLines.addDistanceChamfer Demonstrates the SketchLines.addDistanceChamfer method.
SketchLines.addThreePointRectangle Demonstrates the SketchLines.addThreePointRectangle method.
SketchLines.addTwoPointRectangle Demonstrates the SketchLines.addTwoPointRectangle method.

Version

Introduced in version August 2014