rpti::item set
Sets one or multiple parameters to specified values.
- Syntax
rpti::item set
- Parameters
-
- -id
- Mandatory value: Item ID. The item ID which is returned by the corresponding "create" API.
- For
- Value: A full list of standard property names see Supported
property name above. Use
rpti::item getpropertykeylist
for list of dynamic properties.
- Returns
- 1 for OK, .tcl-error in case of error.
- Example
ardi::item::text set -id $id -name "My Text Item" -value "Good monring, how are you today?"
rpti::item setattribute
Sets/update item attribute.
- Syntax
rpti::item setattribute
- Parameters
-
- -id
- Value: Item ID.
- -name
- Value: Attribute Name which is usually a string.
- -value
- Value: Attribute value.
- Returns
- 1 if success, error message if failed.
rpti::item setrole
Set/update item role
- Syntax
rpti::item setrole
- Parameters
-
- -id
- Value: Item ID.
- -name
- Value: Role name which is usually a string.
- -value
- Value: Role value.
- Returns
- 1 if success, error message if failed.
rpti::item setselection
Queries current selected item set using rpti::item setselection
.
- Syntax
rpti::item setselection
- Returns
- Selected item id.