-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path123.py
65 lines (49 loc) · 2.03 KB
/
123.py
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
# -----------------------------------------------------------
# 123.py
# v.2.1
# Updated: 20211127
# Houdini version: 18.5.563, Python 3
# Redshift version: 3.0.46
# -----------------------------------------------------------
"""
Start-up file runs on Houdini load of a new session.
"""
# -----------------------------------------------------------
# GLOBAL VARIABLES )))))))))))))))))))))))))))))))))))) START
# -----------------------------------------------------------
# IMPORTANT: Reset <USERNAME> with path to user-defined path
# of scripts location. Reset <HOUDINI_VERSION> with
# current Houdini version.
library_path = r'C:\Users\<USERNAME>\Documents\<HOUDINI_VERSION>\scripts'
# -----------------------------------------------------------
# GLOBAL VARIABLES )))))))))))))))))))))))))))))))))))))) END
# -----------------------------------------------------------
# -----------------------------------------------------------
# IMPORT LIBRARIES )))))))))))))))))))))))))))))))))))) START
# -----------------------------------------------------------
import sys
sys.path.append(library_path)
from common_py_lib import utils, uiUtils
# -----------------------------------------------------------
# IMPORT LIBRARIES )))))))))))))))))))))))))))))))))))))) END
# -----------------------------------------------------------
# -----------------------------------------------------------
# MAIN )))))))))))))))))))))))))))))))))))))))))))))))) START
# -----------------------------------------------------------
def main():
r"""
Initialize Houdini session with custom presets
Args:
None
Returns:
None
"""
# Configure playbar options
uiUtils.lib_config_playbar()
# Set default colors for sticky notes & network boxes
utils.lib_set_stickyNotesNetBoxDefaults()
if __name__ == '__main__':
main()
# -----------------------------------------------------------
# MAIN )))))))))))))))))))))))))))))))))))))))))))))))))) END
# -----------------------------------------------------------