SilhouetteSelection.inputGeometry Property

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

Description

Get or set the value of the input geometry. If the value originates from a component instead of an occurrence, or an occurrence outside of the CAM environment, then the subpath is checked against the CAM model tree. For some child classes, this may be the same as the value property, but might also consist of fewer elements. Valid elements depend on the capabilities of the derived class. An exception is thrown if the matching fails or the given entity does not match the expected type.

Syntax

"silhouetteSelection_var" is a variable referencing a SilhouetteSelection object.

# Get the value of the property.
propertyValue = silhouetteSelection_var.inputGeometry

# Set the value of the property.
silhouetteSelection_var.inputGeometry = propertyValue
"silhouetteSelection_var" is a variable referencing a SilhouetteSelection object.
#include <Cam/GeometrySelections/SilhouetteSelection.h>

// Get the value of the property.
std::vector<Ptr<Base>> propertyValue = silhouetteSelection_var->inputGeometry();

// Set the value of the property, where value_var is a Base.
bool returnValue = silhouetteSelection_var->inputGeometry(value_var);

Property Value

This is a read/write property whose value is an array of type Base.

Version

Introduced in version April 2023