get_attribute_manager#
- omni.graph.tools.ogn.get_attribute_manager(
- attribute_name: str,
- attribute_data: dict,
Deciphers, validates, and provides consistent access to attributes described by a dictionary.
This function deciphers the type of attribute it contains and then runs a sub-parser appropriate to that type of attribute which performs semantic validation (e.g. that a default value is within a min/max range).
- Parameters:
attribute_name – Fully namespaced name of the attribute being accessed
attribute_data – Dictionary containing the attribute interface data, as extracted from the JSON
- Raises:
ParseError – If there are any errors parsing the attribute description - string contains the problem
- Returns:
Object that provides an interface to the parsed attribute