Using validity intervals to eliminate many objects makes it much faster. def_visible_primitive(CheckTopologyConsistency, “CheckTopologyConsistency”);…
Thanks, that’s an interesting idea. Unfortunately disabling redraw also disables the evaluations, and no events are produced. Not disabling redraw wor…
And it will be at whatever zoom level is displayed, e.g. if you’re viewing a 4000×3000 image at 25%, you’ll get a 1000×750 image in the clipboard.
No such luck, they have really made this anything but easy.
Another suggestion: read every 2nd, 3rd or 4th row. I would bet the error compared to reading every row will be negligible in almost all cases.
You’re not allocating any memory for the pixels, you’re only creating one. I’m not familiar with the c# SDK, but ideally you’d create an array the siz…
For me v2 is faster than v1 for 2048×2048, with v3 being the slowest. Other than rewriting this in C++ (seriously, this would take like 3ms to execut…
The SDK lets you get this using the ‘Ext’ method on BitmapIO. I wonder if it’s exposed to the .NET SDK which would be accessible from maxscript.
Those are actually the names of the importers, not necessarily the extensions that they import. Btw, you can more easily get this list using bitmapio…
Not quite, but you can make a list of all bitmap formats you’ve ever heard of and call maxOps.canImportBitmap (“C:\\1” + typeStr) on each type. The…
Good point. For that purpose it should always work well.
It’s all fun and games until your array is #(1, 2, 3, 9999999999)
denisT: if you attach a letter to this log file – “Dear Autodesk developers, please send me back a reason of my file crash. Sincerely yours, …” – y…
Somewhere you will never find it. ExecuteMAXScriptScript to the rescue.