pre_launch_args
AEPrelaunchHook
Bases: PreLaunchHook
Launch arguments preparation.
Hook add python executable and script path to AE implementation before AE executable and add last workfile path to launch arguments.
Existence of last workfile is checked. If workfile does not exists tries to copy templated workfile from predefined path.
Source code in client/ayon_aftereffects/hooks/pre_launch_args.py
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 | |
get_workfile_path()
Get workfile path from data.
Source code in client/ayon_aftereffects/hooks/pre_launch_args.py
92 93 94 95 96 97 98 99 100 101 102 103 104 | |
get_launch_kwargs(kwargs)
Explicit setting of kwargs for Popen for AfterEffects.
Expected behavior - ayon_console opens window with logs - ayon has stdout/stderr available for capturing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kwargs | Union[dict, None] | Current kwargs or None. | required |
Source code in client/ayon_aftereffects/hooks/pre_launch_args.py
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 | |