boolean IPS_SetName (int $ObjectID, string $Name)
ObjectID | The ID of the object |
Name | New name for the object |
If the command succeeds, it returns TRUE, otherwise FALSE.
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.
IPS_SetName(47381, "Safety precautions");