PropertyGroup.itemByName Method

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

Description

Returns the specified Property using the name of the property.

Syntax

"propertyGroup_var" is a variable referencing a PropertyGroup object.
returnValue = propertyGroup_var.itemByName(name)
"propertyGroup_var" is a variable referencing a PropertyGroup object.

#include <Core/Application/PropertyGroup.h>

returnValue = propertyGroup_var->itemByName(name);

Return Value

Type Description
Property Returns the specified property or null if the name doesn't match a property within the group.

Parameters

Name Type Description
name string The name of the property to return. This is the name as seen in the user interface and may be localized.

Version

Introduced in version January 2024