MachineParts.createPartInput Method

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

Description

Create a new MachinePartInput.

Syntax

"machineParts_var" is a variable referencing a MachineParts object.
returnValue = machineParts_var.createPartInput(partType)
"machineParts_var" is a variable referencing a MachineParts object.

#include <Cam/Machine/MachineParts.h>

returnValue = machineParts_var->createPartInput(partType);

Return Value

Type Description
MachinePartInput Returns the new MachinePartInput or null if creation failed.

Parameters

Name Type Description
partType MachinePartTypes The type of part to create. When this parameter is Axis, you must set a value for axisInput.

Version

Introduced in version April 2023