Ok, I thought we were answering slightly different questions Thanks for the code snippet, I think… the problem with reading your posts is it makes …
As far as I know functions called by the ‘Node Event System’ need to be able to accept two parameters. From the Max help… Important: The callback f…
You can’t tell the callback not to supply the 2 parameters however you can edit your existing function to expect 2 parameters and edit your existing c…
Have a look in the Max help for the geometryChanged callback in the Node Event System. It might be what you’re looking for.
Done. (10 chars.)
The functions could also be moved inside the rollout. SOLVED! Moving the function SetWallMaterial inside the rollout stopped both errors. I guess i…
If I use the old script I get two error dialogues on opening the scene. One saying there’s a missing dll, FileName: Scripted Plugin Class: WallCove…
It took me a bit longer than I thought but taking the rollout out of the def worked, render servers no longer ask for the script to be installed. Tha…
Thanks, I’ll try that tomorrow and let you know how I get on.
Thanks for the reply Paul. I’m not sure what you mean by leaving a callback persistent. Anyway here’s the code: — Wallcovering Script try (destro…
Yep you’re right. I was trying to make sense of the error message, “syntax error: at on,”
Shouldn’t on roll open do say on rollout open do
Thanks DenisT, that’s a much neater way of doing it.
Does this help? mypath = “m:\\maps\\brick\\brkwea02.jpg” mymaterial = createinstance standardmaterial –Create a new standard material – mymate…