Sketch.setCenterlineState Method
Parent Object:
SketchDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/Sketch.h>
Description
Method that sets the Centerline state for an array of sketch lines.
Syntax
"sketch_var" is a variable referencing a Sketch object.returnValue = sketch_var.setCenterlineState(sketchLines, centerlineState)
|
"sketch_var" is a variable referencing a Sketch object.
#include <Fusion/Sketch/Sketch.h>
returnValue = sketch_var->setCenterlineState(sketchLines, centerlineState);
|
Return Value
boolean |
Returns true if successful. |
Parameters
sketchLines |
SketchLine[] |
An array of sketch lines to set the centerline status |
centerlineState |
SketchLineCenterlineStates |
Input enum value that specifies if the centerline state of the input lines should be toggled, set to centerline, or set to normal |
Version
Introduced in version March 2024