LoriotPro Extended Edition LUA scripting documentation

TOC
LUA TOC


Active View library (function lpav...)

Active View global functions
lpav.GetGlobalOption - Get the global parameters of a view
lpav.SetGlobalOption - Set the global parameters of a view
lpav.Load - Load an active view erasing the current one
lpav.Append - Load an active view in the current one
lpav.Save - Save an Active View in a file
Active View drawing functions
lpav.Insert - Insert a new graphical object
lpav.InsertObject - Insert a new graphical object from a directory objet
lpav.Delete - Delete a Graphical object from a view
lpav.DeleteAll - Delete all the graphical objects of a view
lpav.SetPosition - Set the object position in the view
lpav.SetSize - Set the size of a graphical object
lpav.GetPosition - Get the position of an object in a view
lpav.SetCoord - Center a graphical object on coordinates
lpav.SetToBackGround - Move a graphical objet to the background layer
lpav.SetToForGround - Move a graphical objet to the foreground layer
lpav.SetDown - Move a graphical object to bottom layer
lpav.SetUp - Move a graphical object to top layer
lpav.SetBrush - Change the color of filled object
lpav.SetFontName - Change the font of a text object
lpav.SetLineColor - Change the color of a line object
lpav.SetLineWidth - Change the width of a line object
lpav.RefreshMap - Refresh an Active View
Object selection functions
lpav.SelectUID - Select an object from its UID
lpav.SetSelected - Set the selected object
lpav.ClearSelected - The default objet is unselected
lpav.ClearAllSelected - All selected objects are unselected
lpav.DeleteAllSelected - Delete all selected objects
lpav.SelectAllRef - Select all object with a same reference
lpav.UnSelectAllRef - Unselect all object with a same reference
lpav.FindFromAssociedUID - Find associated object from UID
lpav.SelectFirst - The first object of the view is selected
lpav.SelectNext - The next object after the selected object is selected
lpav.FindRef - Find a graphical object from one of its attached reference
Single object manipulation functions
lpav.ShiftPosition - Move the slected object
lpav.Copy - Copy the default object in internal clipboard
lpav.Paste - Paste object(s) from internal clipboard
Group manipulation functions
lpav.ShiftPositionAllSelected - Move all the selected object
lpav.GetRectAllSelected - Move the rectangle of a group of object
lpav.SetOptionAllSelected - Change parameters of all selected objects
lpav.SelectAll - Select all the object of an Active View
lpav.CopyAllSelected - Copy all selected objects in internal clipboard
lpav.Paste - Paste object(s) from internal clipboard
lpav.SetUpCornerAllSelected - Set the upper left corner of a selection rectangle
lpav.SizeInRectAllSelected - Set a group of object in a rectangle
Object property management function
lpav.SetName - Change the graphical object name
lpav.SetOption - Change graphical objet global parameters
lpav.InsertAction - Set double click action on a graphical object
lpav.InsertMenu - Insert a contextual menu option of an object
lpav.DeleteAllMenu - Delete all contextual menu option of an object
lpav.SetExpression - Define the expression of a dynamic object
lpav.DeleteAllFilter - Delete all condition filter of a dynamic object
lpav.InsertFilter - Insert a new condition filter of a dynamic object
lpav.SetRef - Attach a reference to a graphical objet
lpav.GetRef - Get the references attached to a graphical object
lpav.GetInformation - Get information on a graphical object
lpav.SetClipart - Load or change the clipart linked to a graphical object
 
 

 




www.loriotpro.com