SketchSelection.warning Property

Parent Object: SketchSelection
Defined in namespace "adsk::cam" and the header file is <Cam/GeometrySelections/SketchSelection.h>

Description

Gets the last warning string encountered after the selection was applied to a parent.

Syntax

"sketchSelection_var" is a variable referencing a SketchSelection object.

# Get the value of the property.
propertyValue = sketchSelection_var.warning
"sketchSelection_var" is a variable referencing a SketchSelection object.
#include <Cam/GeometrySelections/SketchSelection.h>

// Get the value of the property.
string propertyValue = sketchSelection_var->warning();

Property Value

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

Version

Introduced in version July 2023