PropertyGroup.parent Property

Parent Object: PropertyGroup
Defined in namespace "adsk::core" and the header file is <Core/Application/PropertyGroup.h>

Description

Returns the parent of this group. Typically this will be a Component.

Syntax

"propertyGroup_var" is a variable referencing a PropertyGroup object.

# Get the value of the property.
propertyValue = propertyGroup_var.parent
"propertyGroup_var" is a variable referencing a PropertyGroup object.
#include <Core/Application/PropertyGroup.h>

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

Property Value

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

Version

Introduced in version January 2024