Sketch.sketchDimensions Property

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

Description

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

Syntax

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

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

Property Value

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

Samples

Name Description
Creates an I-Bream on a User Coordinate System

Demonstrates the use of an existing user coordinate system to create geometry dependent on it.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground.

Version

Introduced in version August 2014