Setup.models Property

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

Description

Gets and sets the input models associated with the setup. Passing in an empty ObjectCollection will remove all current inputs. Valid collection items are Occurrence, BRepBody, or MeshBody.

Syntax

"setup_var" is a variable referencing a Setup object.

# Get the value of the property.
propertyValue = setup_var.models

# Set the value of the property.
setup_var.models = propertyValue
"setup_var" is a variable referencing a Setup object.
#include <Cam/CAM/Setup.h>

// Get the value of the property.
Ptr<ObjectCollection> propertyValue = setup_var->models();

// Set the value of the property, where value_var is an ObjectCollection.
bool returnValue = setup_var->models(value_var);

Property Value

This is a read/write property whose value is an ObjectCollection.

Version

Introduced in version December 2017