Bobo
@bobo
New Member
Joined: Feb 14, 2024
Topics: 1 / Replies: 2249
Reply
RE: Loop Issue?

True, that’s because “i” is not defined in the context of the Wire Controller’s expression. So “0.1*i” means “0.1 * undefined”. You have to use (“Per…

16 years ago
Forum
Reply
RE: Loop Issue?

$myArray[i] should be myArray[i]. $ is only used when denoting a node path, like $Box01. myArray already contains a node pointer and you don’t need (…

16 years ago
Forum
Reply
RE: Line from a spline knot to a point helper?

You could use a SplineIK Modifier to place a Helper on each knot, then draw lines from the one helper to the SplineIK Modifier’s Helpers.

16 years ago
Forum
Reply
RE: colorpick from bitmap?

Creating a bitmap with a filename does NOT open the existing bitmap, it creates a NEW empty bitmap that would overwrite your existing one if you would…

16 years ago
Forum
Reply
RE: colorpick from bitmap?

Here is a quick test: rollout ccp_test “Custom Color Picker Test” ( local theMap = gradient_ramp gradient_Type:8 local theBmp = (renderMap theMap)…

16 years ago
Forum
Reply
RE: colorpick from bitmap?

You can do this with an ImgTag which is a bitmap display control that has its own mouse event handlers. Alternatively, you can use the mouse event han…

16 years ago
Forum
Reply
RE: Z_depth script

That’s the least of your problems. The ZDepth Render Element’s range controls are considered non-animatable so even if you could update them (via a #P…

16 years ago
Forum
Reply
RE: Code line skipped in 2011

I feel really good because I was flying blind (it works in 2010 too). You could try to keep the max create mode in the beginning, switch to max modi…

16 years ago
Forum
Reply
RE: Code line skipped in 2011

You should have started with the fact it was an “Unknown System Exception”. That means you did nothing wrong (and explains why it was working in 2009)…

16 years ago
Forum
Reply
RE: Code line skipped in 2011

Shift+Enter lines evaluates them in global scope. So if you have variable scoping issues (either orig or targ could be undefined in the active scope),…

16 years ago
Forum
Reply
RE: gradient ramp woes

Technically speaking, the GradientRamp was also an external plugin developed by Digimation around Max 2 or so. It was written before there was MAXScri…

16 years ago
Forum
Reply
RE: Script gives error at first run attempt only

I wish I had a penny for each post complaining about that Scope Of Variables. You cannot use a variable BEFORE you have defined it. The foo tool is …

16 years ago
Forum
Reply
RE: Loop selections on mesh.

That’s the main reason Editable Poly was introduced back in Max 4 – the Editable Mesh’s data structure, while very fast for viewport drawing and rende…

16 years ago
Forum
Reply
RE: Scene explorer, Custom Properties

As I said, as far as I know this is not possible via MAXScript. The Scene Explorer was written with the SDK and was a proof of concept for exactly tha…

16 years ago
Forum
Reply
RE: Scene explorer, Custom Properties

The non-string controls in the Explorer are DotNet controls and they are currently not usable via the MAXScript methods for extending the Explorer col…

16 years ago
Forum
Page 17 / 150