SheetMetalRule.units Property

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

Description

Gets the units this rule uses to display values in the dialog. Rules currently only use mm or inch and the units are permanently associated with a rule and cannot be modified.

Syntax

"sheetMetalRule_var" is a variable referencing a SheetMetalRule object.

# Get the value of the property.
propertyValue = sheetMetalRule_var.units
"sheetMetalRule_var" is a variable referencing a SheetMetalRule object.
#include <Fusion/SheetMetal/SheetMetalRule.h>

// Get the value of the property.
string propertyValue = sheetMetalRule_var->units();

Property Value

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

Version

Introduced in version May 2024