You can create a plugin that adds the paths to the sys.path, it should be loaded before all the other plugins.
On Tue, Mar 22, 2016 at 3:51 PM, Martin Yara <furik...@gmail.com> wrote: > Thanks for your response. > > So far, after a couple of days fighting with PySide and Python, I've been > able to reuse the GUI. In my tests, it works fine with Softimage 2013 and > 2015. > > I couldn't use an external Python I don't know why, SI just kept crashing, > so I installed Python 2.6, pywin and PySide and copied the PySide folders > into Softimage's Python Lib\site-packages Folder. So far so good, > > Softimage 2015 also kept crashing with an external Python 2.7 so I did the > same and it's working fine. > > Is there any way to just add these PySide to the Python path everytime > Softimage starts up without modifying the setenv.bat ? > I did something similar with Maya 2013 adding PySide folders with a simple > sys.path.append, it would be cool to do it like this in Softimage so I only > have to distribute a Workgroup folder without installing anything. > > Now I only have to convert the code to Softimage. > > > Martin > > > On Tue, Mar 22, 2016 at 7:14 PM, Cesar Saez <cesa...@gmail.com> wrote: > >> You should be able to reuse the GUI as it is through PyQtForSoftimage >> (it's a pretty lightweight implementation, kudos to the people involved), >> but it requires the user to install the plugin + pyqt 4.8.x (I don't think >> the plugin is compatible with recent versions of qt as there are a lot of >> breaking changes on 5.x) and probably an external python 2.7... it's not a >> big deal but if the intent is to distribute the tool it will probably be an >> obstacle for a lot of people, or maybe the community is more tech savy >> nowadays... who knows :) >> >> On Sat, Mar 19, 2016 at 2:47 AM, Martin Yara <furik...@gmail.com> wrote: >> >>> In Maya I'm using a heavily modified version of a script called >>> skinWrangler. >>> (I'm writing Maya Python like crazy these days, and to be honest, it's >>> pretty cool. Tons of options with OpenMaya, Pymel and the old commands) >>> >>> https://github.com/chrisevans3d/skinWrangler >>> >>> Is there something like this already built and available for Softimage? >>> I'm thinking in writing one but it would be much better if there is >>> something already done. >>> >>> This GUI uses an xml and PySide for the GUI. >>> Would it be possible to reuse this GUI in Softimage? I've never been >>> into PySide in Softimage so I'm kinda clueless at the moment. >>> Do I need to install an external Python ? (This project will be in SI >>> 2013) >>> >>> Using only the Softimage PPGs to replicate it seems like a pretty big >>> task. >>> >>> Thanks >>> >>> Martin >>> >>> ------ >>> Softimage Mailing List. >>> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com >>> with "unsubscribe" in the subject, and reply to confirm. >>> >> >> >> ------ >> Softimage Mailing List. >> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com >> with "unsubscribe" in the subject, and reply to confirm. >> > > > ------ > Softimage Mailing List. > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com > with "unsubscribe" in the subject, and reply to confirm. >
------ Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.