SetupInput.name Property

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

Description

Name of the new setup. This is displayed in the browser tree and can be used to access the setup from Setups.

Syntax

"setupInput_var" is a variable referencing a SetupInput object.

# Get the value of the property.
propertyValue = setupInput_var.name

# Set the value of the property.
setupInput_var.name = propertyValue
"setupInput_var" is a variable referencing a SetupInput object.
#include <Cam/CAM/SetupInput.h>

// Get the value of the property.
string propertyValue = setupInput_var->name();

// Set the value of the property, where value_var is a string.
bool returnValue = setupInput_var->name(value_var);

Property Value

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

Samples

Name Description
Additive Manufacturing MJF API Sample

Demonstrates how to automate the creation of an additive MJF manufacturing setup and arrange components within the build volume of a 3D printer.

To run the sample script, have a design with one or more components open in Fusion’s DESIGN workspace. This script will switch the UI from the DESIGN workspace to the MANUFACTURE workspace, create a new Manufacturing Model, and create an Additive Arrange using that manufacturing model as an input.

The setup will select an MJF 3D printer from Fusion’s machine library and a print setting from the print setting library. All components in the Manufacturing model will be automatically arranged within the build volume of the selected MJF machine.

Set Vise Origin As Setup WCS Origin API Sample

This sample script demonstrates how to define our setup WCS origin relative to our vise origin from either a component, a sketch point or a joint origin.

The Work Coordinate System is a reference point set in our CAM workspace and on our machine. All machine coordinates are drawn from the WCS. This script demonstrates defining the WCS by each of 4 alternative methods:

Setup by default with no origin defined.

Setup using vise origin as WCS origin.

Setup using a sketch point as WCS origin.

Setup using a joint origin as WCS origin.

Version

Introduced in version April 2023