« Back to Product

Documentation

IPS_SetPosition

Require: IP-Symcon >= 2.1

 boolean IPS_SetPosition (int $ObjectID, int $Position) 

Parameters

ObjectID

The ID of the object

Position

Position value

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

This function assigns the position value Position to the object with the ID ObjectID. The position will be used to display the objects in the desired order. The default value is 0. The position value may not be unique. If two positions are equal, the objects are primarily sorted by type. For equal types, the name is used as secondary sorting criterion.

Example

IPS_SetPosition(47381, 5);
Any questions?