LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lpav.ClearAllSelected - All selected objects are unselected

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax

lpav.ClearAllSelected

Description

All the selected graphical object in the Active View are unselected.

Parameters

none

Return Values

none

Example

lp_value = 0;
lp_buffer ="error";

dofile(lp.GetPath().."/config/script/loriotinit.lua");

zz=LPAV_OBJ_ANALOGIC_METER_01;

-- Créé des objects r s
k=0;
for i=0,5 do
lpav.Insert(20*i,1,9,9,zz);
lpav.SetClipart( lp.GetPath().."/card/vumeters/vumeter8.emf");
lpav.SetSelected();
if (i==3) then

lpav.SetPosition( 20*i,20);
end;
end
lpav.ClearAllSelected();
lpav.RefreshMap();
lp_buffer ="ok";




www.loriotpro.com