lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: Pixel value

Did you forget your Y loop?

8 years ago
Forum
Reply
RE: another – Unknown system exception

More efficient: delete (for obj in geometry where obj.name == “SuperOwesomeObject” collect obj)

8 years ago
Forum
Reply
RE: Get all Subdirs except some

Surely you’ll want that comparison to be case insensitive at least.

8 years ago
Forum
Reply
RE: Does empty array indexes use memory?

I doubt it, that is almost certainly implemented as a map and not an array.

8 years ago
Forum
Reply
RE: Does empty array indexes use memory?

Looking at the headers for the array class, we see that the data is a Value** (pointer to pointer of Value). I would assume that it allocates as may …

8 years ago
Forum
Reply
RE: Does empty array indexes use memory?

That’s not accurate. Maxscript will not report it as memory usage, but check your process memory in task manager. Each empty element will cost you the…

8 years ago
Forum
Reply
RE: Broken Globals

@Joseph I don’t follow, why would sharedDir need to be global at all? It’s only ever used inside the enclosing block.

8 years ago
Forum
Reply
RE: ghost assets driving me nuts

Displace modifier? UVWUnwrap modifier?

8 years ago
Forum
Reply
RE: Proper way to reports errors to the user?

For a renderer plugin you should use the LogSys system, especially if you plan to support network rendering.

8 years ago
Forum
Reply
RE: Getting the reference of a custom plugin?

Casting is unnecessary in this case, maxscript is not statically typed and you can call any method of a derived class on the base class variable. You…

8 years ago
Forum
Reply
RE: Render output file and path from c++ SDK

GetCOREInterface()->GetRendFileBI() should be good start

8 years ago
Forum
Reply
RE: Unique Sessions IDs for 3dsmax

Could you explain what you mean by: “but I’ve got to find a way to get the correct process for the max session”

8 years ago
Forum
Reply
RE: Read part of a file with filestream and save it issue.

GetMethod is case sensitive, it should be “Write”, not “write”

9 years ago
Forum
Reply
RE: Read part of a file with filestream and save it issue.

momo2012: writeMethod.Write newStream readBuffer[i] It’s not the only problem, but you’re calling Write on a method, not on a filestream. You s…

9 years ago
Forum
Page 3 / 131