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

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
lpav.SaveGraphToJpeg - Save an Active View to jpeg file (screenshot)
lpav.IsMultiSelectedMode - Check the selection mode
 
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
 
Global Variables of ActiveView (do no mix with Global Object)
lpav.DeleteAllGlobalValue LoriotPro V7 feature - Delete all the global variables attached to a specific Active View
lpav.GetGlobalValue  LoriotPro V7 feature - Get the value of a global variables attached to a specific Active View
lpav.GetAllGlobalValue   LoriotPro V7 feature - Retrieve in a LUA table the value of global variables attached to a specific Active View
lpav.SetGlobalValue  LoriotPro V7 feature - Set the value of a global variables attached to a specific Active View
lpav.DeleteGlobalValue LoriotPro V7 feature - Delete the global variable attached to a specific 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.ClearMultiSelect - Delete a selection of multiple objects
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
lpav.RequestString - Display a dialog box for retrieving a character string
lpav.SelectAnimListObject  LoriotPro V7 feature
lpav.GetAnimListObject  LoriotPro V7 feature
lpav.LoadImg  LoriotPro V7 feature
 
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