bagginsbill opened this issue on Apr 23, 2008 · 2832 posts
bagginsbill posted Wed, 09 July 2008 at 10:05 AM
Quote - Thanks bb. As I said before, I did exactly as you asked and showed you all the output that I received when I ran the mainButton script.
....
(edit) It's occurred to me that the download I got was only the vssui.py script, not the mainButtons script. Where are those variable print statements located in your version?
Bingo. Sorry, sorry! I'm an idiot.
Those things are set and printed in mainButtons. I have a modified copy that I didn't give you. You are totally correct. My bad.
Here is the change, if you want to see those variables like I see them. I've included a small bit of before and after, and the changes are in bold.
if mainPython not in sys.path:
sys.path.insert(0, mainPython) if vssFolder not in sys.path:
sys.path.insert(0, vssFolder)
print 'appLocation',appLocation
print 'appFolder',appFolder
print 'scriptLocation',scriptLocation
print 'mainPython',mainPython
print 'vssFolder',vssFolder
print
import vss
vss.appLocation = appLocation
vss.appFolder = appFolder
vss.scriptLocation = scriptLocation
vss.mainPython = mainPython
vss.vssFolder = vssFolder
reload(vss)
import vssui
reload(vssui)
vssui.macros.show()
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)