mserena
Hi,

Just a simple question, wanted to know what is the command to call the SOuP uninstancer function. 
I have found the original uninstancer.py file on the forums here, but thought it tidier to call the one intergrated into the plugin. 
Any ideas? Echo all doesn't reveal anything.

Thanks,
Mark
Reply 0 0
pshipkov
uninstancer_SOuP();
Reply 0 0
mserena
I just get the memory address when I try that...
# Result: <__main__.uninstancer_SOuP instance at 0x00000043AEA2B248> #
Reply 0 0
pshipkov
uninstancer_SOuP().main();
Reply 0 0
mserena
that's the one...thank you.
Reply 0 0
pshipkov
you are welcome.
Reply 0 0
mserena
one more question...please forgive the n00bness of it, (my excuse is absence from coding :p )
but how will I call soup from another script. what do I need to import or what do you do in terms of having soup initialize within my script? 

apologies again if it's basic, I haven't really delved into classes and anything deeper.
Reply 0 0
mserena
nevermind...got it, needed import __main__ at the top.
Reply 0 0
Reply