MachineParts.count Property

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

Description

Get the number of parts in this collection.

Syntax

"machineParts_var" is a variable referencing a MachineParts object.

# Get the value of the property.
propertyValue = machineParts_var.count
"machineParts_var" is a variable referencing a MachineParts object.
#include <Cam/Machine/MachineParts.h>

// Get the value of the property.
uinteger propertyValue = machineParts_var->count();

Property Value

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

Version

Introduced in version April 2023