Re: Setting workgroups via batch file

2013-04-29 Thread Andy Nicholas
Hi Gene, Have you tried using a WKG file that references environment variables instead? This is something I was investigating a while ago, and from the tests that I did, it seemed to work okay. I think you should be able to do something like this inside the WKG file: $MYWORKGROUP_PATHA $MYWORKGR

RE: Setting workgroups via batch file

2013-04-29 Thread Schoenberger
: RE: Setting workgroups via batch file As Luc-Eric said you can call the setenv anywhere in your bat file, but if you want to do it all in one line try this: call "C:\Program Files\Autodesk\Softimage 2013 SP1\Application\bin\setenv.bat" & start /min cmd /c "%XSI_BINDIR

Re: Setting workgroups via batch file

2013-04-27 Thread Gene Crucean
utodesk.com [mailto: >>> softimage-boun...@listproc.autodesk.com] *On Behalf Of *Ponthieux, >>> Joseph G. (LARC-E1A)[LITES] >>> *Sent:* Friday, April 26, 2013 10:29 PM >>> *To:* softimage@listproc.autodesk.com >>> *Subject:* RE: Setting workgroups via batch file

Re: Setting workgroups via batch file

2013-04-27 Thread Stephen Blair
:* softimage@listproc.autodesk.com <mailto:softimage@listproc.autodesk.com> *Subject:* RE: Setting workgroups via batch file As Luc-Eric said you can call the setenv anywhere in your bat file, but if you want to do it all in one line try this: call &

Re: Setting workgroups via batch file

2013-04-27 Thread Gene Crucean
sk.com [mailto: >> softimage-boun...@listproc.autodesk.com] *On Behalf Of *Ponthieux, >> Joseph G. (LARC-E1A)[LITES] >> *Sent:* Friday, April 26, 2013 10:29 PM >> *To:* softimage@listproc.autodesk.com >> *Subject:* RE: Setting workgroups via batch file

Re: Setting workgroups via batch file

2013-04-27 Thread Gene Crucean
*Sent:* Friday, April 26, 2013 10:29 PM > *To:* softimage@listproc.autodesk.com > *Subject:* RE: Setting workgroups via batch file > > As Luc-Eric said you can call the setenv anywhere in your bat file, but > if you want to do it all in one line try this: > > ** **

RE: Setting workgroups via batch file

2013-04-27 Thread Schoenberger
...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Ponthieux, Joseph G. (LARC-E1A)[LITES] Sent: Friday, April 26, 2013 10:29 PM To: softimage@listproc.autodesk.com Subject: RE: Setting workgroups via batch file As Luc-Eric said you can call the setenv anywhere in your

Re: Setting workgroups via batch file

2013-04-26 Thread Gene Crucean
Haha whoops. Thanks Steven! On Fri, Apr 26, 2013 at 2:56 PM, Steven Caron wrote: > i believe you want semi-colons > > s > > > On Fri, Apr 26, 2013 at 2:54 PM, Gene Crucean < > emailgeneonthel...@gmail.com> wrote: > >> So "echo >> data_management.workgroup_appl_path=\\tela\trsam\facility\pipelin

Re: Setting workgroups via batch file

2013-04-26 Thread Steven Caron
i believe you want semi-colons s On Fri, Apr 26, 2013 at 2:54 PM, Gene Crucean wrote: > So "echo > data_management.workgroup_appl_path=\\tela\trsam\facility\pipeline\extensions\softimage2013\workgroups\Arnold > > %XSI_USERHOME%\Data\Preferences\workgroups.xsipref" seems to work pretty > good bu

Re: Setting workgroups via batch file

2013-04-26 Thread Gene Crucean
So "echo data_management.workgroup_appl_path=\\tela\trsam\facility\pipeline\extensions\softimage2013\workgroups\Arnold > %XSI_USERHOME%\Data\Preferences\workgroups.xsipref" seems to work pretty good but does anyone how that is supposed to work with multiple workgroup paths? If I add that line mult

RE: Setting workgroups via batch file

2013-04-26 Thread Ponthieux, Joseph G. (LARC-E1A)[LITES]
As Luc-Eric said you can call the setenv anywhere in your bat file, but if you want to do it all in one line try this: call "C:\Program Files\Autodesk\Softimage 2013 SP1\Application\bin\setenv.bat" & start /min cmd /c "%XSI_BINDIR%\xsi.bat -w \\path\to\workgroup1,\\path\to\workgroup2" This ki

Re: Setting workgroups via batch file

2013-04-26 Thread Luc-Eric Rousseau
> but then I'm > forced to use the SI command prompt and to be honest I'm not even sure how > to call that thing from within a bat file since call "C:\Program > Files\Autodesk\Softimage 2013 SP1\Application\bin\SIShell.bat" doesn't seem > to work. The SI command prompt is just a normal command pro

Re: Setting workgroups via batch file

2013-04-26 Thread Steven Caron
we are using the same method, change the xsipref file before starting up. its still a shame that all the options available for setting workgroups still fall short of what we actually need! On Fri, Apr 26, 2013 at 12:36 PM, Alan Fregtman wrote: > Hey Gene, > > The easiest and most reliable way to

Re: Setting workgroups via batch file

2013-04-26 Thread Alan Fregtman
Hey Gene, The easiest and most reliable way to have complete control over workgroups is to rewrite your *default.xsipref* file before launching. You'll find in your program root under /Data/Preferences/default.xsipref The format is pretty straightforward. At work we made a 50 line module to parse