SketchIsoparametricCurve.setSingle Method

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

Description

Redefines that a single isoparametric curve will be created and its position is defined by its distance from the edge of the surface. The direction is defined using the isUDirection property.

Syntax

"sketchIsoparametricCurve_var" is a variable referencing a SketchIsoparametricCurve object.
returnValue = sketchIsoparametricCurve_var.setSingle(isPhysical, distance)
"sketchIsoparametricCurve_var" is a variable referencing a SketchIsoparametricCurve object.

#include <Fusion/Sketch/SketchIsoparametricCurve.h>

returnValue = sketchIsoparametricCurve_var->setSingle(isPhysical, distance);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
isPhysical boolean Specifies if the offset of the curve from the edge of the surface is defined by a physical distance or a proportional distance along the surface where it is defined as a value from 0 to 1. A value of true indicates it is the physical distance.
distance ValueInput The distance of the curve from the edge of the surface. If isPhysical is true this is a physical distance. If the ValueInput is defined using a real value this is the offset in centimeters. If the ValueInput is defined using a string it is used as the expression of the parameter that will be created to control the offset, and should be able to be evaluated as a distance.

If isPhysical is false, this defines the proportional offset of the surface from the edge where the value can be 0 to 1. If a ValueInput is defined using a real value it can be 0 to 1. If the ValueInput is defined using a string it is used as the expression of the parameter that will be created to control the offset and should be able to be evaluated as a unitless value.

Version

Introduced in version April 2026