GRAPHISOFT®

Python APIVersion: 0.23 Beta

GetPropertyDefinitionDictionary

Lists the Property Definitions in a dictionary..

def GetPropertyDefinitionDictionary (groupGUID) -> Dict (String, APIObject)

 

Parameters

groupGUID
[in] GUID of a Property Group.

 

Return Values

A dictionary containing the available Property Definitions belong to the given Property Group. Keys of the items are the GUIDs of the property definitions.

 

Remarks

This function is analogous to the ACAPI_Property_GetPropertyDefinitions function of the C++ API.

For information on how to interpret the returned APIObject dictionary values, visit the C++ documentation.

 

Example

for groupGuid in GetPropertyGroupDictionary().keys():
    for definition in GetPropertyDefinitionDictionary(groupGuid).values():
        print("{} {}".format (definition.name, definition.guid))

 

Requirements

Version: Python API 0.1 or Later
Module: GS

 

See Also

GetPropertyGroupDictionary
CreatePropertyDefinition, ChangePropertyDefinition

All functions