Eyeon:Script/Reference/Applications/Fusion/Classes/Composition/Execute
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | Composition
Contents |
Composition : Execute
Arguments
Execute( cmd )
- cmd (required, string)
The string to be executed in the composition.
Since version 6.3.2 you may run Python by using !Py:, !Py2: for python version 2 and !Py3: for python version 3.
Returns
This function does not return any values.
Remarks
Comp:Execute was created when it became apparent that there was no simple way to remotely configure event suites
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
-- eyeonScript comp:Execute("print('Hello from eyeonScript!')") comp:Execute("!Py: print('Hello from default Python!')") comp:Execute("!Py2: print 'Hello from Python 2!'") comp:Execute("!Py3: print ('Hello from Python 3!')")
# Python: comp.Execute("print ('Hello from eyeonScript!')")