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.SelectAnimListObject

Syntax

value = lpav.SelectAnimListObject(0,"Animation_Reference","array")

Description

This LUA function provides a list of all the graphical objects of an Active View that has the Animation Reference specified and select the Graphical object for further manipulation.

The Animation reference is set manually in the object Properties -> Effect tab.

Parameters

Animation_Reference : The animation reference value

array : An LUA table of the graphical object UID with all the object with that animation reference

Return Values

value : 1 if succeeded

array : An LUA table of the graphical object UID with all the object with that animation reference

Return nil if an error occurs

Example

if (lpav.SelectAnimListObject(0,"TOTO","a")) then
for key,value in ipairs(a) do
lp.Print(key,' ',value,'\n')
end
end

Example of return :

1 5947976418682994688



www.loriotpro.com