OperationBase.parentSetup Property

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

Description

Gets the Setup this operation belongs to.

Syntax

"operationBase_var" is a variable referencing an OperationBase object.

# Get the value of the property.
propertyValue = operationBase_var.parentSetup
"operationBase_var" is a variable referencing an OperationBase object.
#include <Cam/Operations/OperationBase.h>

// Get the value of the property.
Ptr<Setup> propertyValue = operationBase_var->parentSetup();

Property Value

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

Version

Introduced in version January 2016