CAMParameter.userDefaultExpression Property

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

Description

Gets and sets the userDefaultExpression of this parameter. If no userDefaultExpression is set, the systemDefaultExpression is returned. Throws an exception if the parent is not an operation or does not support user default expressions.

Syntax

"cAMParameter_var" is a variable referencing a CAMParameter object.

# Get the value of the property.
propertyValue = cAMParameter_var.userDefaultExpression
"cAMParameter_var" is a variable referencing a CAMParameter object.
#include <Cam/Operations/CAMParameter.h>

// Get the value of the property.
string propertyValue = cAMParameter_var->userDefaultExpression();

Property Value

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

Version

Introduced in version September 2025