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.Append - Load an active view in 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.Append(“ActiveViewfile.cmp”);

Description

Append an Active View to the the current Active View. The graphical objectd of the appended Active View are added to the current opened Active View. All the loaded objects are selected by default.

Parameters

ActiveViewfile.cmp - The file of the Active View to load.

Return Values

result=1 or return nil if an error occurs

Example

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

 



www.loriotpro.com