Results 1 to 4 of 4

Thread: How to get Master python script to stay within file

  1. #1

    How to get Master python script to stay within file

    I'm in the process of translating one of my ls Master scripts to python. My python version doesn't look to be staying with my file upon close. When I load my scene I get the prompt that it can't find the MasterHandler in question.

    I have the below in my flags function:
    Code:
    def flags(self):
    return lwsdk.LWMAST_SCENE | lwsdk.LWMASTF_RECEIVE_NOTIFICATIONS
    Is this correct?
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  2. #2
    I think that's correct. I had the opposite problem with a plugin that I didn't want to load with the scene and my old code looks like that. Is your plugin in the support\plugins\scripts\Python folder? I think it has to be somewhere in there to be found automatically.

  3. #3
    No, I store my proprietary scripts in a different location. Is that the issue?
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  4. #4
    Making the name of my file match what's in the ServerTag block seems to have fixed things.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •