ardi::item::property
Interact with items of type property.
- Parameters
-
- -type
- value: item ID. Not used.
ardi::item::property create args
- Parameters
-
- -id (mandatory)
- value: Parent item ID of type text, image, table, module, etc.
- -key (mandatory)
- value: unique key/name for the property
- -name
- value: "Display name of the property, if not specified key is used as display name"
- -type
- (defaults to str): Type of property
- For a full list of property names, see above.
- Returns
- The ID of the item or tcl-error in case an error occurred during creation. i.e ardi::item::property create -id $parentid -key "MyKey" -name "My Property" -value "My Value" -type "str"
ardi::item::property delete args
- Parameters
-
- -id (mandatory)
- value: Parent item ID of type text, image, table, module, etc.
- -name (mandatory)
- value: Name of the property
- Returns
- 1 for ok
ardi::item::property get args
- Parameters
-
- -id (mandatory)
- value: item ID. The item ID which is returned by the corresponding "create" API.
- For a full list of property names, see above.
- Returns
- The value of the specified property or tcl-error in case of error usage: ardi::item::property get -id $id -property parent
ardi::item::property getattributelist args
\ #usage ardi::item::property::getattributelist args
ardi::item::property set args
- Parameters
-
- -id (mandatory)
- value: item ID. The item ID which is returned by the corresponding "create" API.
- For a full list of property names, see above.
- Returns
- 1 for ok