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.
Delete the current selected graphical Active View object
The graphical object is not deleted from memory but only stamped as deleted. It will be effectively deleted with all other objects stamped as deleted when the script will end. If you create a lot of objects in a loop and then delete them the memory will be freed at the end of the script. Such code is not recommended because it can cause memory leaks and memory overflows.
lp_value = 0;
-- Créé des objects r s
for i=0,5 do
if (i==3) then