try2script
@try2script
New Member
Joined: Feb 14, 2024
Topics: 111 / Replies: 440
Reply
RE: superClassOf in multithreading

If I replace this code: if isKindOf prop Material then getSubmats prop path:path format:(capitalizeFirst (propname as string) + “\\” + …

9 years ago
Forum
Reply
RE: superClassOf in multithreading

because while (myThreads[1].IsBusy or myThreads[2].IsBusy) and (not keyboard.escPressed) do () format “1 done:(%) – % ” ww[1].result.count ww[1] for…

9 years ago
Forum
Reply
RE: superClassOf in multithreading

Denis, I was very excited last night when I saw your vision in this matter, but I’m disappointed now when I see that it still crashes my max. Look wha…

9 years ago
Forum
Reply
RE: superClassOf in multithreading

Perfect. Do you mean – as tag, I can send a material?

9 years ago
Forum
Reply
RE: superClassOf in multithreading

Denis, I have just noticed what you said, to define all recursive functions inside a function. How could I read this and not notice )) Please tell me,…

9 years ago
Forum
Reply
RE: superClassOf in multithreading

Denis, you’re right. After changing SuperClassOf with isKindOf, the next bottle neck was the recursion. But I think, what I need is impossible to do w…

9 years ago
Forum
Reply
RE: superClassOf in multithreading

yes, this is very simple, but I wanted to use multithreading for a deep material scanning like this code: ( struct matDef (mat, path) local …

9 years ago
Forum
Reply
RE: superClassOf in multithreading

the fanny thing is that I use IsKindOf in the same script a little bellow, It really doesn’t crash max as superClassOf, but another problem arose th…

9 years ago
Forum
Topic
Forum
Replies: 37
Views: 217
Reply
RE: EditText Entered Event not firing

I had this problem only in cases when EditText was not dotnet.

9 years ago
Forum
Reply
RE: Inform about max crash

sure, Jorge! this piece of code I will implement a bit later to my main script, and once connected, I will use it every day in my workflow, that’s why…

9 years ago
Forum
Reply
RE: Inform about max crash

woooow! Tha’t really awsome! Thank youuu! I love this so much. Jorge, Julius, thank you so much. That really makes sense.

9 years ago
Forum
Reply
RE: Inform about max crash

Yes, it’s true! In my case, the script will be not heavy, that’s why I think if max is more then 30 seconds or then 1 minute not responding, this mean…

9 years ago
Forum
Reply
RE: Inform about max crash

and one more situation is when max is not responding, but still running, then I would like also to stop it from task manager and restart. Sorry, for s…

9 years ago
Forum
Reply
RE: Inform about max crash

Does it return -1 even if it’s still displaying error report from Autodesk (I mean if it still opened in task manager)? In fact, in case of crash, I …

9 years ago
Forum
Page 10 / 37