utils
bake_gizmos_recursively(in_group=None)
Converting a gizmo to group
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
in_group | Optional[Node] | group node or all nodes | None |
Source code in client/ayon_nuke/api/utils.py
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 | |
get_node_outputs(node)
Return a dictionary of the nodes and pipes that are connected to node
Source code in client/ayon_nuke/api/utils.py
30 31 32 33 34 35 36 37 38 39 40 41 | |
gizmo_is_nuke_default(gizmo)
Check if gizmo is in default install path
Source code in client/ayon_nuke/api/utils.py
49 50 51 52 53 | |
is_headless()
Returns:
| Name | Type | Description |
|---|---|---|
bool | bool | headless |
Source code in client/ayon_nuke/api/utils.py
92 93 94 95 96 97 | |
is_node_gizmo(node)
Return True if the node is a gizmo.
Source code in client/ayon_nuke/api/utils.py
44 45 46 | |
set_context_favorites(favorites=None)
Adding favorite folders to nuke's browser
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
favorites | dict | couples of {name:path} | None |
Source code in client/ayon_nuke/api/utils.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |