Bobo
@bobo
New Member
Joined: Feb 14, 2024
Topics: 1 / Replies: 2249
Reply
RE: How to get if statements to work with multiple checkbox options?

Since I assume the option variables like g_remove_version_number etc. are all defined somewhere outside the function and not in a higher scope, your …

14 years ago
Forum
Reply
RE: find array index

Take a look at qsort() in the Help, and specifically at the example of Indexed Sorting. Basically you collect one array with the objects, another arr…

14 years ago
Forum
Reply
RE: Normal based Rotation

A normal does not describe an orientation completely. While you can orient one axis of an object to it, the other two axes have unlimited number of po…

14 years ago
Forum
Reply
RE: Way to tokenize a name like with Mel?

Keep in mind MAXScript uses 1-based indexing, otherwise it is the same as Ian pointed out. You could also use matchPattern() to perform simple pattern…

14 years ago
Forum
Reply
RE: **System execption**

The modifier must be active in the Modify Panel, otherwise it is not initialized correctly: b1 = box() –create a box b2 = box pos:[50,0,0] –creat…

14 years ago
Forum
Reply
RE: animating gradient ramp

Not true. You can animate the position of existing flags (starting with flag 3 which is not at the end of the gradient), but the creation of new flags…

14 years ago
Forum
Reply
RE: Rollout Scope Issue

Ok, here we go: Your 3 rollouts are currently implicitly global (they are all defined in the top scope). For rollouts, this is quite OK, but in gener…

14 years ago
Forum
Reply
RE: 3D Math study path?

Thanks for the flowers! The goal with that DVD was to explain how to use math without knowing math (since I both HATE and DON’T REALLY KNOW math) :r…

14 years ago
Forum
Reply
RE: Code not working inside function, otherwise OK

This is because when you put the code in a function, the code becomes the body and is run as a multiline expression within a single undo record. Durin…

14 years ago
Forum
Reply
RE: converting normalized vector to angle?

Let’s assume that the Normal is the Z axis in world space. If there is no rotation, your normal has rotation of 0,0,0 and is parallel to the World Z. …

14 years ago
Forum
Reply
RE: Some guidance/help needed

Awesome job, I like it very much! :applause:

14 years ago
Forum
Reply
RE: Some guidance/help needed

Just so you know, DIMaster 2 lets you snap to vertices and even sicks to them. It is a special mode that reads the data from the Snap system and uses …

14 years ago
Forum
Reply
RE: if-Clause evaluation

I could be blind, but I don’t see an error in the posted code. In fact I run a version of it here where the targetHelper and sourceHelper variables we…

14 years ago
Forum
Reply
RE: reporting methods?

It is very difficult to think of every possible way a script could be executed and crashed, but there are certain things you could get into habit of a…

14 years ago
Forum
Reply
RE: Converting String values to object names

There are two options here: You can use getNodeByName() to convert the string to the object you want to select, or store a separate array of cameras …

14 years ago
Forum
Page 9 / 150