forked from Autodesk/sitoa
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopen_dev_console.cmd
More file actions
19 lines (14 loc) · 844 Bytes
/
open_dev_console.cmd
File metadata and controls
19 lines (14 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off
rem Windows helper script to set the environment and open a dev console by simply dubble-clicking the batch file.
rem Update the paths below to the locations that is correct for your system.
set "Path=%USERPROFILE%\DEV\Portable Python-2.7.17 x64\App\Python;%Path%"
set "Path=%USERPROFILE%\DEV\SolidAngle\Arnold-7.3.7.1-windows\bin;%Path%"
set "Path=%~dp0dist\Softimage_2015\Addons\SItoA\Application\Plugins\bin\nt-x86-64;%Path%"
set "ARNOLD_PLUGIN_PATH=%~dp0dist\Softimage_2015\Addons\SItoA\Application\Plugins\bin\nt-x86-64"
set sitoa_dev_cmd="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=14.0
WHERE wt.exe /Q
if %ERRORLEVEL% NEQ 0 (
START "SItoA Dev Console" %sitoa_dev_cmd%
) else (
wt.exe new-tab -d . --title "SItoA Dev Console" cmd /K %sitoa_dev_cmd%
)