AddFixtures - hossimo/GMA3Plugins GitHub Wiki

AddFixtures

work in progress

Signature

AddFixtures( table fixture_definition) : true on success or nil

Parameters:

Name Type Description Optional
Fixture Definition table Defines the parameters of the fixture to be patched

Fixture Definition

fixture = {
     "mode"    =         ,-- ??    : handle to DMX mode
    ,"amount"  =         ,-- int   : number of fixtures to patch
    [,"undo"   = ]       ,-- string: (optional)
    [,"parent" = ]       ,-- handle: (optional)
    [,"insert_index" = ] ,-- int   : (optional)
    [,"idtype" =]        ,-- string: (optional)
    [,"cid"    =]        ,-- string: (optional)
    [,"fid"    =]        ,-- string: (optional)
    [,"name"   =]        ,-- string: (optional)
    [,"layer"  =]        ,-- string: (optional)
    [,"class"  =]        ,-- string: (optional)
    [,"patch"  =]         -- array : (optional)
}

Returns:

true on success or nil