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

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.
Simple Revolve Feature Sample Creates a new revolve feature, resulting in a new component.
SketchCircles.addByThreeTangents Demonstrates the SketchCircles.addByThreeTangets method.
SketchCircles.addByTwoTangents Demonstrates the SketchCircles.addByTwoTangets method.
SketchLines.addAngleChamfer Demonstrates the SketchLines.addAngleChamfer method.
SketchLines.addByTwoPoints Demonstrates the SketchLines.addByTwoPoints method.
SketchLines.addCenterPointRectangle Demonstrates the SketchLines.addCenterPointRectangle 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