Sadly, ActiveProject3 has not been working in this version... File "C:\Program Files\Autodesk\Softimage 2013 SP1\Application\python\Lib\site-packages\win32comext\axscript\client\pyscript.py", line 153, in __setattr__ # raise AttributeError, attr # AttributeError: activeproject3
On Thu, Oct 11, 2012 at 5:04 PM, Matt Lind <[email protected]> wrote: > Did you try Application.ActiveProject3?**** > > ** ** > > ** ** > > Matt**** > > ** ** > > ** ** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Bradley Gabe > *Sent:* Thursday, October 11, 2012 2:00 PM > *To:* [email protected] > *Subject:* Re: Refreshing the Project List?**** > > ** ** > > I'm creating the default.xsiproject file directly out of Python, then > setting the project via Application.ActiveProject.**** > > I tried using Application.CreateProject2(), but that does not refresh the > Project List with data written into the xsiproject files.**** > > ** ** > > I am setting up the xsiproject file via script because it allows you to > rename your project as it appears in the Project Manager. This is useful if > you are working in a multi app pipeline, where under a shot directory it > splits into multiple subdirectories named for each app. The problem with > Soft in this context is you end up getting a list of Projects all named > "xsi" which isn't very helpful. :-)**** > > ** ** > > Hacking the xsiproject file does what it's supposed to, so the project > list shows "<sequence>_<shot>" even though the project directory is named > "xsi". It's just it only updates after restarting Soft.**** > > ** ** > > -B**** > > ** ** > > On Thu, Oct 11, 2012 at 4:45 PM, Matt Lind <[email protected]> > wrote:**** > > UpdatePlugins() only rescans plugins in workgroups, as does > Application.RescanWorkgroups(), so I wouldn’t expect those to work.**** > > **** > > Are you creating your projects via Application.CreateProject2()? Have you > tried Application.ActiveProject3? you should be able to kick Softimage > that way.**** > > **** > > **** > > Matt**** > > **** > > **** > > **** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Bradley Gabe > *Sent:* Thursday, October 11, 2012 12:38 PM > *To:* [email protected] > *Subject:* Refreshing the Project List?**** > > **** > > Anyone know if it is possible to refresh the Project Manager via scripting > and without restarting Soft?**** > > **** > > I'm building my own xsiprojects file via Python and it's working very > nicely, except nothing shows up in the Project Manager until Softimage is > restarted.**** > > I've tried Application.Refresh() and Update Plugins, neither of which does > the trick.**** > > **** > > -B**** > > ** ** >

