« Back to Product

Documentation

IPS_SetVariableCustomPresentation

Require: IP-Symcon >= 8.0

 boolean IPS_SetVariableCustomPresentation (int $VariableID, array $Presentation) 

Parameters

VariableID

ID of the variable to which the presentation is to be assigned

Presentation

The configuration of the presentation. Details can be found in the section Presentations.

Returns

If the command could be executed successfully, the result is TRUE, otherwise FALSE.

Description

The function assigns the VariablenID variable the Darstellung configured representation.

Example

// Sets the presentation of a variable to Slider
IPS_SetVariableCustomPresentation(12345, ['PRESENTATION' => VARIABLE_PRESENTATION_SLIDER]);
Any questions?