johnsojc wrote:sdlName = <PlasmaTypes.ptAttribString instance at 0x18AE95A8>
sdlName.value = boolTreeDayLights
ageSDL = PtGetAgeSDL() (= <Plasma.ptSDL object at 0x1346F7D0>)
I do not understand what this is trying to do.
johnsojc wrote:so ageSDL[sdlName.value] would look like
<Plasma.ptSDL object at 0x1346F7D0>[boolTreeDayLights]
johnsojc wrote:According to the code, ageSDL[sdlName.value] should return a bool value but appears to fail for some reason. Even the debug statements I put in the file to get what this code returns causes a traceback.
Tsar Hoikas wrote:The problem is that the 3ds Max files specify variables that do not actually exist.
Tsar Hoikas wrote:I guess I forgot to add a try except for non whitespace failures. Oops
johnsojc wrote:As long as I'm cleaning up files, is anyone interested in my doing a proper cleanup of the default SDL files?
If so, I need to know exactly how to format each line, tabs here spaces there, etc. I really don't mind doing the donkey work and I do have the time. (reminds me of my old job... )
johnsojc wrote:Let me know if you come up with a solution. I have updated about 30 of the scripts to PEP-8... only a couple of hundred or so more to do
Users browsing this forum: No registered users and 4 guests