AppearanceTextureProperty.parent Property

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

Description

Returns the parent of this property.For properties associated with an appearance this will return the parent Appearance. For properties associated with a material, this will return the parent Material. For other types of properties, this will return the PropertyGroup it is in.

Syntax

"appearanceTextureProperty_var" is a variable referencing an AppearanceTextureProperty object.

# Get the value of the property.
propertyValue = appearanceTextureProperty_var.parent
"appearanceTextureProperty_var" is a variable referencing an AppearanceTextureProperty object.
#include <Core/Materials/AppearanceTextureProperty.h>

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

Property Value

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

Version

Introduced in version August 2014