Did you forget your Y loop?
More efficient: delete (for obj in geometry where obj.name == “SuperOwesomeObject” collect obj)
Surely you’ll want that comparison to be case insensitive at least.
I doubt it, that is almost certainly implemented as a map and not an array.
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 …
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…
@Joseph I don’t follow, why would sharedDir need to be global at all? It’s only ever used inside the enclosing block.
Displace modifier? UVWUnwrap modifier?
For a renderer plugin you should use the LogSys system, especially if you plan to support network rendering.
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…
GetCOREInterface()->GetRendFileBI() should be good start
Could you explain what you mean by: “but I’ve got to find a way to get the correct process for the max session”
GetMethod is case sensitive, it should be “Write”, not “write”
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…