TheGrak
@thegrak
New Member
Joined: Feb 14, 2024
Topics: 31 / Replies: 197
Reply
RE: Background worker updating meshes

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…

13 years ago
Forum
Reply
RE: Script loading order?

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…

13 years ago
Forum
Reply
RE: Background worker updating meshes

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…

13 years ago
Forum
Reply
RE: Background worker updating meshes

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…

13 years ago
Forum
Reply
RE: Background worker updating meshes

Ok, last script to post to this thread: ( –background crasher maxScriptString = @”for i=1 to 10 do (myBox = box(); myBox.pos = [(random -200 200),…

13 years ago
Forum
Reply
RE: Background worker updating meshes

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…

13 years ago
Forum
Reply
RE: Background worker updating meshes

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…

13 years ago
Forum
Reply
RE: Background worker updating meshes

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…

13 years ago
Forum
Reply
RE: Background worker updating meshes

ok, this script runs fine – does not crash – and I can run it over and over again without error. ( –background thread tests resetMaxFile #noPrompt…

13 years ago
Forum
Reply
RE: Background worker updating meshes

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…

13 years ago
Forum
Topic
Forum
Replies: 61
Views: 144
Reply
RE: Skinning (Load Weights)

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…

13 years ago
Forum
Topic
Forum
Replies: 0
Views: 14
Reply
RE: Old Allan Mckay script. New purpose.

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…

13 years ago
Forum
Reply
RE: Old Allan Mckay script. New purpose.

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 …

13 years ago
Forum
Page 4 / 16