Quantcast
Channel: StudioSysAdmins Message Board
Viewing all articles
Browse latest Browse all 3749

Shotgun and wrapper scripts

$
0
0
Shotgun and wrapper scripts
posted by Saham Ali on Oct. 23, 2015, 4:40 p.m. (2 days ago)
Hey all,
Im kinda stumped here and looking for some insight into this.

We are running all of our applications with batch files now, where we set the env var and launch the app. (Windows)

We are trying to integrate Shotgun into the pipeline along with Shotgun Desktop so users can launch local file system files by clicking on a link the the web interface of shotgun.

Problem were having is if we go to the paths.yml file and adjust the maya.exe path to reflect the batch file, when you launch maya from shotgun desktop, it does not come up with the shotgun menu item.
Switch it back to the actual EXE, shows up just fine but without the env vars we need.

I read the documentation regarding the hooks and before app launch functions, but was curious if this is the only way to do it?
Id prefer it to launch via my batch files, so I dont have to update vars in multiple places project to project.

Any ideas?

--
,\|//,
( o - )
-oOO--(_)--Ooo-----------------
Saham Ali
Founder/Systems Engineer
DvNT Technologies
saham@dvnttechnologies.com
407.729.3584 - Direct

.ooO
( ) Ooo.
--\ ( ------( )-------------------
\_) ) /
(_/
Thread Tags:
  discuss-at-studiosysadmins 

0 Responses   0 Plus One's   0 Comments  
 
Hey all,
Im kinda stumped here and looking for some insight into this.

We are running all of our applications with batch files now, where we set the env var and launch the app. (Windows)

We are trying to integrate Shotgun into the pipeline along with Shotgun Desktop so users can launch local file system files by clicking on a link the the web interface of shotgun.

Problem were having is if we go to the paths.yml file and adjust the maya.exe path to reflect the batch file, when you launch maya from shotgun desktop, it does not come up with the shotgun menu item.
Switch it back to the actual EXE, shows up just fine but without the env vars we need.

I read the documentation regarding the hooks and before app launch functions, but was curious if this is the only way to do it?
Id prefer it to launch via my batch files, so I dont have to update vars in multiple places project to project.

Any ideas?

--
,\|//,
( o - )
-oOO--(_)--Ooo-----------------
Saham Ali
Founder/Systems Engineer
DvNT Technologies
saham@dvnttechnologies.com
407.729.3584 - Direct

.ooO
( ) Ooo.
--\ ( ------( )-------------------
\_) ) /
(_/

Viewing all articles
Browse latest Browse all 3749

Trending Articles