actionMan.executeAction 0 “50031” Does a Quick Render if that’s what you need.
Scintilla is a very tidy UI text editor, and SCiTE kicks ass too I like the code completion and the fact that it looks at your script to get the key…
Okay, I misread the requirements and wrote something different, but it only too 30 minutes so and it may be useful so here it is anyway. I may write …
It’s cool, magicm
I’m using the SDK, not script.
I say it’s about bloody time, well played Autodesk! When they say that the editor is customizable I hope they mean it has scripted access. That would…
As far as I can tell it’s impossible. I’ve tried many times before with no success.
Unfortunately there is no native access to colour information of textures at rendertime for maxScript. I tried writing a plugin that would allow user…
Edit: Should have read the whole post… Just repeated your solution :surprised
Usually I’m a little more spartan with my commenting, I was liberal now just so you, or someone else that might be reading, could understand exactly w…
Here is my attempt, it’s pretty fast, approx 1700ms to compute every pixel in a 256×256 image, I’ve commented everything so I hope it helps: ( — v…
The reason you’re getting errors is that you’re over reading the bitmap, you are trying to access pixel 50, 10050 in a 256×256 bitmap. Your logic is …
Could you post actual working code? your Colours_and_Counts array doesn’t get initialised, so it’s difficult to debug.
Please pardon my eternal ignorance, but what is the advantage to this Python/MXS tie in? I haven’t worked with Python before, what can it do that MXS …