can anyone give me a real profit of the using the background worker in max scripting? nonblocking UI for scripts that take longer than 5-10 seconds…
I ran into a similar problem with custom attributes. denisT illustrated to me that the custom attribute rollout is not created until you call the line…
So why does the Max command need to be in a string? TheGrak should know why I suppose. The max command doesn’t need to be in a string. Sending a…
I lied. One more script – then I’m done Here is a script that uses a dotNet timer to run a background worker thread every 2 seconds. Because the th…
Ok, last script to post to this thread: ( –background crasher maxScriptString = @”for i=1 to 10 do (myBox = box(); myBox.pos = [(random -200 200),…
I had fixed what the forum garbled up earlier. But to be safe, I also ran your archived script, but with the same result. Very interesting. I don’t…
I’ve tested it to run correctly for 10 out of 10 tries. I noticed that the forum messed up a line when I posted the code . So, instead, here is a link…
I am happy to announce that you can use the background worker for many, many things. Here is code that tests creating primitives, applying custom att…
ok, this script runs fine – does not crash – and I can run it over and over again without error. ( –background thread tests resetMaxFile #noPrompt…
Lo, point well made, but… sometimes it works without error or crash. Why? What’s causing the code to work sometimes but not others? If the code coul…
Have you changed the order of the vertices? Is the mesh at 100% scale? You might need to reset the xform. Also, what happens when you change: obj.mo…
If you want to collect more than one set of named nodes, this may work: on Init pCont do ( global FracCol = $HouseBits_* as array join FracC…
I was wondering what I would do if I have one object that has a lot of different elements that I want my event to control (In this case a collision …