Operation.parent Property

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

Description

Returns the parent Setup, Folder or Pattern for this operation.

Syntax

"operation_var" is a variable referencing an Operation object.

# Get the value of the property.
propertyValue = operation_var.parent
"operation_var" is a variable referencing an Operation object.
#include <Cam/Operations/Operation.h>

// Get the value of the property.
Ptr<Base> propertyValue = operation_var->parent();

Property Value

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

Version

Introduced in version January 2016