Documentation
IPS_SetName
boolean IPS_SetName (int $ObjectID, string $Name)
Parameters
ObjectID | The ID of the object |
Name | New name for the object |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
This function assigns the name Name to the object with the ID ObjectID. The name can be seen in the object tree and visualizations and can contribute to readability. The function can be applied to all objects that have an ID for identification.
Example
IPS_SetName(47381, "Safety precautions");