PropertyGroup.itemById Method
Parent Object:
PropertyGroupDefined in namespace "adsk::core" and the header file is <Core/Application/PropertyGroup.h>
Description
Returns the specified property from the group using the unique ID of the property. The ID is consistent and can't be modified by the user and isn't affected by localization.
Syntax
"propertyGroup_var" is a variable referencing a PropertyGroup object.returnValue = propertyGroup_var.itemById(id)
|
"propertyGroup_var" is a variable referencing a PropertyGroup object.
#include <Core/Application/PropertyGroup.h>
returnValue = propertyGroup_var->itemById(id);
|
Return Value
Property |
Returns the specified Property or null if the ID doesn't match a property within the collection. |
Parameters
id |
string |
The unique ID of the property. |
Version
Introduced in version January 2024