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.Load - Load an active view erasing the current one

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

Result=lpav.Load(“ActiveViewfile.cmp”);

Description

Load an Active View an erase the current open Active View

Parameters

ActiveViewfile.cmp - The Active View file to open.

Return Values

result=1 if ok, nil if error

Example

lp_value = 0;
lp_buffer ="error";
lpav.Load(lp.GetPath().."/config/active-view/sample/Cisco3500.cmp");
lpav.RefreshMap();

load active view file and replace

 



www.loriotpro.com