Repository navigation
Expand file tree
/
Copy pathPBAutoCommands.js
More file actions
4404 lines (4078 loc) · 195 KB
/
Copy pathPBAutoCommands.js
File metadata and controls
4404 lines (4078 loc) · 195 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* Pandoras Box Automation
* Node-js v123123 @2018-03-05 02:46:33.792322 <support@coolux.de>
*/
const { execute } = require('./PBAutoCore')
/**
* SetParamInt
* Sets the value of a *parameter* on a *device*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {int} parameterValue - A numeric value to a corresponding parameter.
* @param {bool} doSilent - doSilent (when set) prevents the activation of a parameter. It will stay inactive and won't be treated as an active value.
* @param {bool} doDirect - doDirect (when set) sets the value without using the default value smoothing
*
*/
module.exports.SetParamInt = (siteId, deviceId, parameterName, parameterValue, doSilent, doDirect) => {
return execute('SetParamInt', { siteId, deviceId, parameterName, parameterValue, doSilent, doDirect })
}
/**
* SetParamDouble
* Sets the value of a *parameter* on a *device*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {double} parameterValue - A numeric value to a corresponding parameter.
* @param {bool} doSilent - doSilent (when set) prevents the activation of a parameter. It will stay inactive and won't be treated as an active value.
* @param {bool} doDirect - doDirect (when set) sets the value without using the default value smoothing
*
*/
module.exports.SetParamDouble = (siteId, deviceId, parameterName, parameterValue, doSilent, doDirect) => {
return execute('SetParamDouble', { siteId, deviceId, parameterName, parameterValue, doSilent, doDirect })
}
/**
* SetParamByteTuples
* Changes the value of a *parameter* on a *device*. This is a dedicated function for *tuples*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {int} tupleDimension - The number of elements in this tuple
* @param {byte_buffer} tupleData - The data of the tuple collection
* @param {bool} doSilent - doSilent (when set) prevents the activation of a parameter. It will stay inactive and won't be treated as an active value.
* @param {bool} doDirect - doDirect (when set) sets the value without using the default value smoothing
*
*/
module.exports.SetParamByteTuples = (siteId, deviceId, parameterName, tupleDimension, tupleData, doSilent, doDirect) => {
return execute('SetParamByteTuples', { siteId, deviceId, parameterName, tupleDimension, tupleData, doSilent, doDirect })
}
/**
* GetParam
* Gets the value of a *parameter* of a *device*
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
*
* @returns {double} - A numeric value to a corresponding parameter.
*/
module.exports.GetParam = (siteId, deviceId, parameterName) => {
return execute('GetParam', { siteId, deviceId, parameterName })
}
/**
* GetParamByteTuples
* Gets the value of a *parameter* of a *device*. This is a dedicated function for *tuples*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_wide} parameterName - The parameterName is a string that identifies a property of a device.
*
* @returns {int} - The number of elements in this tuple
* @returns {byte_buffer} - The data of the tuple collection
*/
module.exports.GetParamByteTuples = (siteId, deviceId, parameterName) => {
return execute('GetParamByteTuples', { siteId, deviceId, parameterName })
}
/**
* SetParamOfKind
* Sets the value of a *parameter* on a *device*. This function is faster than it's string-based pendant. Use this for performance!
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {int} parameterKindId - A numeric representation for a parameter. This is faster than using the text based identifier.
* @param {int} parameterValue - A numeric value to a corresponding parameter.
* @param {bool} doSilent - doSilent (when set) prevents the activation of a parameter. It will stay inactive and won't be treated as an active value.
* @param {bool} doDirect - doDirect (when set) sets the value without using the default value smoothing
*
*/
module.exports.SetParamOfKind = (siteId, deviceId, parameterKindId, parameterValue, doSilent, doDirect) => {
return execute('SetParamOfKind', { siteId, deviceId, parameterKindId, parameterValue, doSilent, doDirect })
}
/**
* SetParamOfKindDouble
* Sets the value of a *parameter* on a *device*. This function is faster than it's string-based pendant. Use this for performance!
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {int} parameterKindId - A numeric representation for a parameter. This is faster than using the text based identifier.
* @param {double} parameterValue - A numeric value to a corresponding parameter.
* @param {bool} doSilent - doSilent (when set) prevents the activation of a parameter. It will stay inactive and won't be treated as an active value.
* @param {bool} doDirect - doDirect (when set) sets the value without using the default value smoothing
*
*/
module.exports.SetParamOfKindDouble = (siteId, deviceId, parameterKindId, parameterValue, doSilent, doDirect) => {
return execute('SetParamOfKindDouble', { siteId, deviceId, parameterKindId, parameterValue, doSilent, doDirect })
}
/**
* GetParamOfKind
* Gets the value of a *parameter* on a *device*. This function is faster than it's string-based pendant. Use this for performance!
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {int} parameterKindId - A numeric representation for a parameter. This is faster than using the text based identifier.
*
* @returns {double} - A numeric value to a corresponding parameter.
*/
module.exports.GetParamOfKind = (siteId, deviceId, parameterKindId) => {
return execute('GetParamOfKind', { siteId, deviceId, parameterKindId })
}
/**
* SetParamInSelection
* Gets the value of a *parameter* of the currently selected device. If multiple devices are selected only the one is considered.
*
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {int} parameterValue - A numeric value to a corresponding parameter.
*
*/
module.exports.SetParamInSelection = (parameterName, parameterValue) => {
return execute('SetParamInSelection', { parameterName, parameterValue })
}
/**
* SetParamInSelectionDouble
* Gets the value of a *parameter* of the currently selected device. If multiple devices are selected only the one is considered.
*
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {double} parameterValue - A numeric value to a corresponding parameter.
*
*/
module.exports.SetParamInSelectionDouble = (parameterName, parameterValue) => {
return execute('SetParamInSelectionDouble', { parameterName, parameterValue })
}
/**
* SetParamOfKindInSelection
* Gets the value of a *parameter* on the currently selected *device*. This function is faster than it's string-based pendant. Use this for performance!
*
* @param {int} parameterKindId - A numeric representation for a parameter. This is faster than using the text based identifier.
* @param {int} parameterValue - A numeric value to a corresponding parameter.
*
*/
module.exports.SetParamOfKindInSelection = (parameterKindId, parameterValue) => {
return execute('SetParamOfKindInSelection', { parameterKindId, parameterValue })
}
/**
* SetParamOfKindInSelectionDouble
* Gets the value of a *parameter* on the currently selected *device*. This function is faster than it's string-based pendant. Use this for performance!
*
* @param {int} parameterKindId - A numeric representation for a parameter. This is faster than using the text based identifier.
* @param {double} parameterValue - A numeric value to a corresponding parameter.
*
*/
module.exports.SetParamOfKindInSelectionDouble = (parameterKindId, parameterValue) => {
return execute('SetParamOfKindInSelectionDouble', { parameterKindId, parameterValue })
}
/**
* SetParamLerpTime
* Sets the smoothing / fade time of a parameter.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {int} smoothingTime - A time span in milliseconds that it takes for a parameter to fade to it's new value. A value of 0 means no parameter smoothing
*
*/
module.exports.SetParamLerpTime = (siteId, deviceId, parameterName, smoothingTime) => {
return execute('SetParamLerpTime', { siteId, deviceId, parameterName, smoothingTime })
}
/**
* GetIsDeviceSelected
* Gets the *selection* state of a *device*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
*
* @returns {byte} - States whether something is currently selected in the master interface
*/
module.exports.GetIsDeviceSelected = (siteId, deviceId) => {
return execute('GetIsDeviceSelected', { siteId, deviceId })
}
/**
* GetSelectedDeviceCount
* Gets the number of selected devices.
*
*
* @returns {int} - Number of devices currently in selection.
*/
module.exports.GetSelectedDeviceCount = () => {
return execute('GetSelectedDeviceCount', { })
}
/**
* GetSelectedDevice
* Gets the ID of the *device* in the *selection*. This way you can find out which devices are currently selected.
*
* @param {int} selectionIndex - A index for the collection of selected devices. Get selected devices count with [c:16]
*
* @returns {int} - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @returns {int} - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
*/
module.exports.GetSelectedDevice = (selectionIndex) => {
return execute('GetSelectedDevice', { selectionIndex })
}
/**
* SetSequenceMediaAtTime
* Applies a *resource* to the specified *sequence* and time.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} hours - The HOURS part of a time or timespan
* @param {int} minutes - The MINUTES part of a time or timespan
* @param {int} seconds - The SECONDS part of a time or timespan
* @param {int} frames - The FRAMES part of a time or timespan
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.SetSequenceMediaAtTime = (siteId, deviceId, sequenceId, hours, minutes, seconds, frames, dmxFolderId, dmxFileId) => {
return execute('SetSequenceMediaAtTime', { siteId, deviceId, sequenceId, hours, minutes, seconds, frames, dmxFolderId, dmxFileId })
}
/**
* AssignResource
* Assigns a *resource* to the specified *device*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {bool} forMesh - When forMesh it set, the command executes it's action for the MESH parameter of the given device. When set to false it is executed on the MEDIA parameter.
*
*/
module.exports.AssignResource = (siteId, deviceId, dmxFolderId, dmxFileId, forMesh) => {
return execute('AssignResource', { siteId, deviceId, dmxFolderId, dmxFileId, forMesh })
}
/**
* AssignResourceByName
* Assigns a *resource* to the specified *device* by using the name of the *resource*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"
* @param {string_wide} parameterName - The parameterName is a string that identifies a property of a device.
* @param {bool} forMesh - When forMesh it set, the command executes it's action for the MESH parameter of the given device. When set to false it is executed on the MEDIA parameter.
*
*/
module.exports.AssignResourceByName = (siteId, deviceId, resourcePath, parameterName, forMesh) => {
return execute('AssignResourceByName', { siteId, deviceId, resourcePath, parameterName, forMesh })
}
/**
* AssignResourceToSelection
* Assigns a *resource* to the currently *selected* *device*.
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {bool} forMesh - When forMesh it set, the command executes it's action for the MESH parameter of the given device. When set to false it is executed on the MEDIA parameter.
*
*/
module.exports.AssignResourceToSelection = (dmxFolderId, dmxFileId, forMesh) => {
return execute('AssignResourceToSelection', { dmxFolderId, dmxFileId, forMesh })
}
/**
* MoveResourceToPath
* Moves a *resource* in the *project tree*.
*
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"
* @param {string_wide} projectPath - A path in the project. leave blank for the root folder. Subfolders are separated by a forward slash, no terminating slash is allowed.
*
*/
module.exports.MoveResourceToPath = (resourcePath, projectPath) => {
return execute('MoveResourceToPath', { resourcePath, projectPath })
}
/**
* MoveTreeItem
* Moves a *tree item* in the *project tree*.
*
* @param {int} itemIdFrom - Item IDs are counted from top to bottom in the project tree. Nesting has no influence on counting order. The first item is 0 (always the project root folder)
* @param {int} itemIdTo - Item IDs are counted from top to bottom in the project tree. Nesting has no influence on counting order. The first item is 0 (always the project root folder)
*
*/
module.exports.MoveTreeItem = (itemIdFrom, itemIdTo) => {
return execute('MoveTreeItem', { itemIdFrom, itemIdTo })
}
/**
* SetSequenceTransportMode
* Sets the play/pause/stop state of the *sequence*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} transportMode - Playback status of a sequence. Possible values are 1 (Play), 2 (Stop) or 3 (Pause)
*
*/
module.exports.SetSequenceTransportMode = (sequenceId, transportMode) => {
return execute('SetSequenceTransportMode', { sequenceId, transportMode })
}
/**
* GetSequenceTransportMode
* Gets the play/pause/stop state of the *sequence*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
*
* @returns {int} - Playback status of a sequence. Possible values are 1 (Play), 2 (Stop) or 3 (Pause)
*/
module.exports.GetSequenceTransportMode = (sequenceId) => {
return execute('GetSequenceTransportMode', { sequenceId })
}
/**
* MoveSequenceToTime
* Moves the *sequence* to given *timecode*
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} hours - The HOURS part of a time or timespan
* @param {int} minutes - The MINUTES part of a time or timespan
* @param {int} seconds - The SECONDS part of a time or timespan
* @param {int} frames - The FRAMES part of a time or timespan
*
*/
module.exports.MoveSequenceToTime = (sequenceId, hours, minutes, seconds, frames) => {
return execute('MoveSequenceToTime', { sequenceId, hours, minutes, seconds, frames })
}
/**
* GetSequenceTime
* Gets the current *timecode* of a *sequence*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
*
* @returns {int} - The HOURS part of a time or timespan
* @returns {int} - The MINUTES part of a time or timespan
* @returns {int} - The SECONDS part of a time or timespan
* @returns {int} - The FRAMES part of a time or timespan
*/
module.exports.GetSequenceTime = (sequenceId) => {
return execute('GetSequenceTime', { sequenceId })
}
/**
* MoveSequenceToNextFrame
* Moves the *timeline* by one frame forward or backward.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {byte} isNext - When true then the action is done to the NEXT element. When set to false then the action is done to the PREVIOUS element.
*
*/
module.exports.MoveSequenceToNextFrame = (sequenceId, isNext) => {
return execute('MoveSequenceToNextFrame', { sequenceId, isNext })
}
/**
* MoveSequenceToCue
* Moves the *sequence* to a specific *cue*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} cueId - A unique identifier for a cue.
*
*/
module.exports.MoveSequenceToCue = (sequenceId, cueId) => {
return execute('MoveSequenceToCue', { sequenceId, cueId })
}
/**
* MoveSequenceToNextCue
* Moves the *sequence* to the next or previous *cue*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {byte} isNext - When true then the action is done to the NEXT element. When set to false then the action is done to the PREVIOUS element.
*
*/
module.exports.MoveSequenceToNextCue = (sequenceId, isNext) => {
return execute('MoveSequenceToNextCue', { sequenceId, isNext })
}
/**
* SetSequenceTransparency
* Sets the *sequence*'s *opacity*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} transparency - The numeric visibility from 0 (totally opaque) to 255 (fully visible)
*
*/
module.exports.SetSequenceTransparency = (sequenceId, transparency) => {
return execute('SetSequenceTransparency', { sequenceId, transparency })
}
/**
* GetSequenceTransparency
* Gets the *sequence*'s *opacity*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
*
* @returns {int} - The numeric visibility from 0 (totally opaque) to 255 (fully visible)
*/
module.exports.GetSequenceTransparency = (sequenceId) => {
return execute('GetSequenceTransparency', { sequenceId })
}
/**
* SetSequenceSMTPETimeCodeMode
* Sets the *smpte* *timecode-mode* of a *sequence*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} timeCodeMode - The mode for the SMTPE link: 0 (None), 1 (Send) or 2 (Receive)
*
*/
module.exports.SetSequenceSMTPETimeCodeMode = (sequenceId, timeCodeMode) => {
return execute('SetSequenceSMTPETimeCodeMode', { sequenceId, timeCodeMode })
}
/**
* SetSequenceSMTPETimeCodeOffset
* Sets the *smpte* *timecode-offset* of a *sequence*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} hours - The HOURS part of a time or timespan
* @param {int} minutes - The MINUTES part of a time or timespan
* @param {int} seconds - The SECONDS part of a time or timespan
* @param {int} frames - The FRAMES part of a time or timespan
*
*/
module.exports.SetSequenceSMTPETimeCodeOffset = (sequenceId, hours, minutes, seconds, frames) => {
return execute('SetSequenceSMTPETimeCodeOffset', { sequenceId, hours, minutes, seconds, frames })
}
/**
* SetSequenceSMTPETimeCodeStopAction
* Sets the *smpte* *timecode-stop-action* of a *sequence*.
*
* @param {int} sequenceId - The unique identifier for a sequence. The first/default sequence is 1
* @param {int} stopAction - Determines what should happen when the incoming timecode stops
*
*/
module.exports.SetSequenceSMTPETimeCodeStopAction = (sequenceId, stopAction) => {
return execute('SetSequenceSMTPETimeCodeStopAction', { sequenceId, stopAction })
}
/**
* ResetAll
* Resets all *site*s and *device*s.
*
*
*/
module.exports.ResetAll = () => {
return execute('ResetAll', { })
}
/**
* ResetSite
* Resets all *device*s of a specific *site*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
*
*/
module.exports.ResetSite = (siteId) => {
return execute('ResetSite', { siteId })
}
/**
* ResetDevice
* Resets a specific *device*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
*
*/
module.exports.ResetDevice = (siteId, deviceId) => {
return execute('ResetDevice', { siteId, deviceId })
}
/**
* ResetParam
* Resets a specific *parameter*.
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
*
*/
module.exports.ResetParam = (siteId, deviceId, parameterName) => {
return execute('ResetParam', { siteId, deviceId, parameterName })
}
/**
* SetAllActive
* None
*
*
*/
module.exports.SetAllActive = () => {
return execute('SetAllActive', { })
}
/**
* SetSiteActive
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
*
*/
module.exports.SetSiteActive = (siteId) => {
return execute('SetSiteActive', { siteId })
}
/**
* SetDeviceActive
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
*
*/
module.exports.SetDeviceActive = (siteId, deviceId) => {
return execute('SetDeviceActive', { siteId, deviceId })
}
/**
* SetParamActive
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
*
*/
module.exports.SetParamActive = (siteId, deviceId, parameterName) => {
return execute('SetParamActive', { siteId, deviceId, parameterName })
}
/**
* ClearAllActive
* None
*
*
*/
module.exports.ClearAllActive = () => {
return execute('ClearAllActive', { })
}
/**
* ClearActiveSite
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
*
*/
module.exports.ClearActiveSite = (siteId) => {
return execute('ClearActiveSite', { siteId })
}
/**
* ClearActiveDevice
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
*
*/
module.exports.ClearActiveDevice = (siteId, deviceId) => {
return execute('ClearActiveDevice', { siteId, deviceId })
}
/**
* ClearActiveParam
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
*
*/
module.exports.ClearActiveParam = (siteId, deviceId, parameterName) => {
return execute('ClearActiveParam', { siteId, deviceId, parameterName })
}
/**
* ToggleFullscreen
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
*
*/
module.exports.ToggleFullscreen = (siteId) => {
return execute('ToggleFullscreen', { siteId })
}
/**
* SetParamRelativeDouble
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {double} parameterValue - A numeric value to a corresponding parameter.
*
*/
module.exports.SetParamRelativeDouble = (siteId, deviceId, parameterName, parameterValue) => {
return execute('SetParamRelativeDouble', { siteId, deviceId, parameterName, parameterValue })
}
/**
* SetParamRelativeExtended
* None
*
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} deviceId - The deviceId is a per-site unique number that identifies a kind of layer, camera, output or a dmx-device.
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {double} parameterValue - A numeric value to a corresponding parameter.
* @param {bool} doSilent - doSilent (when set) prevents the activation of a parameter. It will stay inactive and won't be treated as an active value.
* @param {bool} doDirect - doDirect (when set) sets the value without using the default value smoothing
*
*/
module.exports.SetParamRelativeExtended = (siteId, deviceId, parameterName, parameterValue, doSilent, doDirect) => {
return execute('SetParamRelativeExtended', { siteId, deviceId, parameterName, parameterValue, doSilent, doDirect })
}
/**
* SetParamRelativeInSelection
* None
*
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {int} parameterValue - A numeric value to a corresponding parameter.
*
*/
module.exports.SetParamRelativeInSelection = (parameterName, parameterValue) => {
return execute('SetParamRelativeInSelection', { parameterName, parameterValue })
}
/**
* SetParamRelativeInSelectionDouble
* None
*
* @param {string_narrow} parameterName - The parameterName is a string that identifies a property of a device. (ASCII only)
* @param {double} parameterValue - A numeric value to a corresponding parameter.
*
*/
module.exports.SetParamRelativeInSelectionDouble = (parameterName, parameterValue) => {
return execute('SetParamRelativeInSelectionDouble', { parameterName, parameterValue })
}
/**
* AddContentToPath
* None
*
* @param {string_narrow} filePath - A Windows-Styled path to a file. ("C:cooluxcontentsamplevideo.mpv")
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {string_narrow} projectPath - A path in the project tab. ("somefolder/otherfolder") Leave empty for root directory.
*
*/
module.exports.AddContentToPath = (filePath, siteId, dmxFolderId, dmxFileId, projectPath) => {
return execute('AddContentToPath', { filePath, siteId, dmxFolderId, dmxFileId, projectPath })
}
/**
* AddContentToTreeItem
* None
*
* @param {string_narrow} filePath - A Windows-Styled path to a file. ("C:cooluxcontentsamplevideo.mpv")
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} treeItemIndex - TreeItemIDs are counted from top to bottom in the project tree. Nesting has no influence on counting order. The first item is 0 (always the project root folder)
*
*/
module.exports.AddContentToTreeItem = (filePath, siteId, dmxFolderId, dmxFileId, treeItemIndex) => {
return execute('AddContentToTreeItem', { filePath, siteId, dmxFolderId, dmxFileId, treeItemIndex })
}
/**
* AddContentFromLocalNode
* None
*
* @param {string_narrow} filePath - A Windows-Styled path to a file. ("C:cooluxcontentsamplevideo.mpv")
* @param {short} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {short} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.AddContentFromLocalNode = (filePath, dmxFolderId, dmxFileId) => {
return execute('AddContentFromLocalNode', { filePath, dmxFolderId, dmxFileId })
}
/**
* AddContentFromLocalNodeToPath
* None
*
* @param {string_narrow} filePath - A Windows-Styled path to a file. ("C:cooluxcontentsamplevideo.mpv")
* @param {string_narrow} projectPath - A path in the project tab. ("somefolder/otherfolder") Leave empty for root directory.
* @param {short} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {short} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.AddContentFromLocalNodeToPath = (filePath, projectPath, dmxFolderId, dmxFileId) => {
return execute('AddContentFromLocalNodeToPath', { filePath, projectPath, dmxFolderId, dmxFileId })
}
/**
* AddContentFromLocalNodeToTreeItem
* None
*
* @param {string_narrow} filePath - A Windows-Styled path to a file. ("C:cooluxcontentsamplevideo.mpv")
* @param {int} treeItemIndex - TreeItemIDs are counted from top to bottom in the project tree. Nesting has no influence on counting order. The first item is 0 (always the project root folder)
* @param {short} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {short} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.AddContentFromLocalNodeToTreeItem = (filePath, treeItemIndex, dmxFolderId, dmxFileId) => {
return execute('AddContentFromLocalNodeToTreeItem', { filePath, treeItemIndex, dmxFolderId, dmxFileId })
}
/**
* AddContentFromFolder
* None
*
* @param {string_wide} folderPath - A Windows-Styled path to a folder. ("C:cooluxcontentsample_folder")
* @param {int} siteId - The siteId is a unique number that identifies a manager, player or server in a project. Sites can also be created without assigning them to a specific physical machine. The site id can be found when looking at the Master in the Devices Tab
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {string_wide} projectPath - A path in the project. leave blank for the root folder. Subfolders are separated by a forward slash, no terminating slash is allowed.
*
*/
module.exports.AddContentFromFolder = (folderPath, siteId, dmxFolderId, dmxFileId, projectPath) => {
return execute('AddContentFromFolder', { folderPath, siteId, dmxFolderId, dmxFileId, projectPath })
}
/**
* AddContentFromLocalNodeFolder
* None
*
* @param {string_wide} folderPath - A Windows-Styled path to a folder. ("C:cooluxcontentsample_folder")
* @param {short} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {short} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.AddContentFromLocalNodeFolder = (folderPath, dmxFolderId, dmxFileId) => {
return execute('AddContentFromLocalNodeFolder', { folderPath, dmxFolderId, dmxFileId })
}
/**
* AddContentFromLocalNodeFolderToPath
* None
*
* @param {string_narrow} folderPath - A Windows-Styled path to a folder. ("C:cooluxcontentsample_folder")
* @param {string_narrow} projectPath - A path in the project tab. ("somefolder/otherfolder") Leave empty for root directory.
* @param {short} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {short} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.AddContentFromLocalNodeFolderToPath = (folderPath, projectPath, dmxFolderId, dmxFileId) => {
return execute('AddContentFromLocalNodeFolderToPath', { folderPath, projectPath, dmxFolderId, dmxFileId })
}
/**
* AddContentFolderFromLocalNodeToTreeItem
* None
*
* @param {string_narrow} folderPath - A Windows-Styled path to a folder. ("C:cooluxcontentsample_folder")
* @param {int} treeItemIndex - TreeItemIDs are counted from top to bottom in the project tree. Nesting has no influence on counting order. The first item is 0 (always the project root folder)
* @param {short} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {short} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.AddContentFolderFromLocalNodeToTreeItem = (folderPath, treeItemIndex, dmxFolderId, dmxFileId) => {
return execute('AddContentFolderFromLocalNodeToTreeItem', { folderPath, treeItemIndex, dmxFolderId, dmxFileId })
}
/**
* RemoveMediaById
* None
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.RemoveMediaById = (dmxFolderId, dmxFileId) => {
return execute('RemoveMediaById', { dmxFolderId, dmxFileId })
}
/**
* RemoveMeshById
* None
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.RemoveMeshById = (dmxFolderId, dmxFileId) => {
return execute('RemoveMeshById', { dmxFolderId, dmxFileId })
}
/**
* RemoveContentByName
* None
*
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"
* @param {bool} allEquallyNamed - True: Execute action on all equally named items. False: Do action only for one/the first item having the target name.
*
*/
module.exports.RemoveContentByName = (resourcePath, allEquallyNamed) => {
return execute('RemoveContentByName', { resourcePath, allEquallyNamed })
}
/**
* RemoveTreeItem
* None
*
* @param {int} treeItemIndex - TreeItemIDs are counted from top to bottom in the project tree. Nesting has no influence on counting order. The first item is 0 (always the project root folder)
*
*/
module.exports.RemoveTreeItem = (treeItemIndex) => {
return execute('RemoveTreeItem', { treeItemIndex })
}
/**
* RemoveAllResources
* None
*
* @param {bool} removeFolder - True: Remove folders. False: Keep folder structure.
*
*/
module.exports.RemoveAllResources = (removeFolder) => {
return execute('RemoveAllResources', { removeFolder })
}
/**
* SetContentId
* None
*
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"
* @param {short} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {short} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.SetContentId = (resourcePath, dmxFolderId, dmxFileId) => {
return execute('SetContentId', { resourcePath, dmxFolderId, dmxFileId })
}
/**
* SpreadAll
* None
*
*
*/
module.exports.SpreadAll = () => {
return execute('SpreadAll', { })
}
/**
* SpreadMediaById
* None
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.SpreadMediaById = (dmxFolderId, dmxFileId) => {
return execute('SpreadMediaById', { dmxFolderId, dmxFileId })
}
/**
* SpreadMeshById
* None
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.SpreadMeshById = (dmxFolderId, dmxFileId) => {
return execute('SpreadMeshById', { dmxFolderId, dmxFileId })
}
/**
* ReloadMediaById
* None
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.ReloadMediaById = (dmxFolderId, dmxFileId) => {
return execute('ReloadMediaById', { dmxFolderId, dmxFileId })
}
/**
* ReloadMeshById
* None
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.ReloadMeshById = (dmxFolderId, dmxFileId) => {
return execute('ReloadMeshById', { dmxFolderId, dmxFileId })
}
/**
* ReloadResource
* None
*
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"
*
*/
module.exports.ReloadResource = (resourcePath) => {
return execute('ReloadResource', { resourcePath })
}
/**
* SpreadResource
* None
*
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"
*
*/
module.exports.SpreadResource = (resourcePath) => {
return execute('SpreadResource', { resourcePath })
}
/**
* ReloadAndSpreadResourceByPath
* None
*
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"
*
*/
module.exports.ReloadAndSpreadResourceByPath = (resourcePath) => {
return execute('ReloadAndSpreadResourceByPath', { resourcePath })
}
/**
* ReloadAndSpreadResourceByTreeItem
* None
*
* @param {int} treeItemIndex - TreeItemIDs are counted from top to bottom in the project tree. Nesting has no influence on counting order. The first item is 0 (always the project root folder)
*
*/
module.exports.ReloadAndSpreadResourceByTreeItem = (treeItemIndex) => {
return execute('ReloadAndSpreadResourceByTreeItem', { treeItemIndex })
}
/**
* ReloadAndSpreadResourceByDmxId
* None
*
* @param {int} dmxFolderId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FOLDER part. The Widget Designer also takes advantage of this kind of addressing of resources.
* @param {int} dmxFileId - Resources can have a identifier pair (Folder and File ID) for external control like DMX,Art-net and alike. This is the FILE part. The dmxFileId identifier is unique in each dmx-folder. The Widget Designer also takes advantage of this kind of addressing of resources.
*
*/
module.exports.ReloadAndSpreadResourceByDmxId = (dmxFolderId, dmxFileId) => {
return execute('ReloadAndSpreadResourceByDmxId', { dmxFolderId, dmxFileId })
}
/**
* RemoveInconsistent
* None
*
*
*/
module.exports.RemoveInconsistent = () => {
return execute('RemoveInconsistent', { })
}
/**
* RemoveAssetOnSite
* None
*
* @param {string_wide} resourcePath - A string representing the full path to a resource of the project. Resources in the root folder can be addressed directly like "resource.mpv". The same resource in a subfolder named "sub" can be referenced by "sub/resource.mpv"