-
Notifications
You must be signed in to change notification settings - Fork 4
/
salPipeline.py
64 lines (49 loc) · 1.54 KB
/
salPipeline.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
import sys, os
from sal_pipeline.src import env
reload(env)
env = env.getEnv()
# modulePath = '/'.join( os.path.dirname( os.path.abspath(__file__) ).split('\\')[:-1] )
modulePath = env.modulePath()
if modulePath not in sys.path :
sys.path.append( modulePath )
def app_projectExplorer():
''' run project explorer '''
env.checkEnv()
from sal_pipeline.app import projectExplorer
reload(projectExplorer)
projectExplorer.run()
def app_mayaGlobalPublisher():
''' run project explorer '''
env.checkEnv()
from sal_pipeline.app import globalPublisher
reload(globalPublisher)
globalPublisher.run()
def app_assetImporter():
from sal_pipeline.app import assetImporter
reload(assetImporter)
assetImporter.run()
def app_redshiftMultiMatte():
from sal_pipeline.app.RS_MultimatteTool import rsMM_app
reload(rsMM_app)
def app_FileTextureManager():
import maya.mel as mel
app_path = env.app_dirPath() + '/FileTextureManager.mel'
print app_path
mel.eval("source \"{0}\";".format(app_path))
mel.eval("FileTextureManager;")
def app_mergePlace2TextureNode():
from sal_pipeline.app import merge_place2DTexture
reload(merge_place2DTexture)
merge_place2DTexture.main()
def app_replaceReference():
from sal_pipeline.app import massRefReplace_app
reload(massRefReplace_app)
app = massRefReplace_app.massRefRlps_UI()
app.showUI()
def app_renderLayerManager():
from sal_pipeline.app import RenderlayerManager_app
reload(RenderlayerManager_app)
app = RenderlayerManager_app.renderLayerMan_UI()
app.showUI()
if __name__ == '__main__':
app_projectExplorer()