ExtruderMachineElement.filamentDiameter Property

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

Description

Filament diameter of this extruder in cm.

Syntax

"extruderMachineElement_var" is a variable referencing an ExtruderMachineElement object.

# Get the value of the property.
propertyValue = extruderMachineElement_var.filamentDiameter

# Set the value of the property.
extruderMachineElement_var.filamentDiameter = propertyValue
"extruderMachineElement_var" is a variable referencing an ExtruderMachineElement object.
#include <Cam/Machine/ExtruderMachineElement.h>

// Get the value of the property.
double propertyValue = extruderMachineElement_var->filamentDiameter();

// Set the value of the property, where value_var is a double.
bool returnValue = extruderMachineElement_var->filamentDiameter(value_var);

Property Value

This is a read/write property whose value is a double.

Version

Introduced in version January 2026