Bobo
@bobo
New Member
Joined: Feb 14, 2024
Topics: 1 / Replies: 2249
Reply
RE: [MXS] Is it posible to force a mesh plugin to update on each frame?

The On BuildMesh is called whenever the Validity Interval of the plugin is invalid. Max is trying to be economical with updates (and often fails), but…

12 years ago
Forum
Reply
RE: Math Help / Calculation Help

denisT: because… (dramatic pause is here) … every character can be also with no hat, pants, or shoes True, even Spongebob is sometimes without p…

12 years ago
Forum
Reply
RE: Math Help / Calculation Help

Animare: 543 = 60 But that doesn’t seem right? Why doesn’t it? If you don’t trust your instincts, you can write 3 simple nested loops just to ge…

12 years ago
Forum
Reply
RE: Check if external program installed?

For your command to work, the executable would have to be in an environment PATH variable. You could either check the PATHs themselves, or scan for gm…

12 years ago
Forum
Reply
RE: Funny max scripting

(if (LADY == SURE; \ GLITTER == GOLD) \ AND SHE == BUYING do \ straight_STAIR WAY:0 \ stepwidth:20 stepheight:10 length:100 \ TO:(text …

12 years ago
Forum
Reply
RE: Loft Twist from CSV

The sad short answer is – you cannot do that with MAXScript. You can only access points of the twist curve if they already exist AND are animated. You…

12 years ago
Forum
Reply
RE: getFilenamePath on load problem?

When I run your script (and replace the image and the path to it with an existing one here so it can find it), it runs ok the first time and shows the…

12 years ago
Forum
Reply
RE: getFilenamePath on load problem?

If you insist on using this code structure, try to run the above in your head and see where it makes no sense! You are defining the rollout which has …

12 years ago
Forum
Reply
RE: getFilenamePath on load problem?

The fact that it runs after several tries shows that you have a collision of implicitly local variables with explicitly global variables. This is usua…

12 years ago
Forum
Reply
RE: Dumb question about a unc path begining with \\q?

String Literals, you can find it by searching for “verbatim”. It was added in Max 2008, so instead of saying a = “\\something\ est” you can say a = @”…

12 years ago
Forum
Reply
RE: Macroscript checkbutton state on toolbar

Check out the updateToolbarButtons() function which can be used to update the states of all MacroScripts currently on toolbars. Also see

12 years ago
Forum
Reply
RE: use setpixels draw a Solid circle to bitmap

I should go to sleep, but I haven’t done “recreational scripting” in ages. So here is the version with an Ellipse option: ( global CircleDraw_Dialog …

13 years ago
Forum
Reply
RE: use setpixels draw a Solid circle to bitmap

gazybara: This is very interesting, Bobo, As the Japanese flag. The default colors were indeed intentional. I started with black and decided to g…

13 years ago
Forum
Reply
RE: use setpixels draw a Solid circle to bitmap

Here is something to play with: ( global CircleDraw_Dialog try(destroyDialog CircleDraw_Dialog)catch() local theSize = 150.0 rollout CircleDraw_Dialo…

13 years ago
Forum
Reply
RE: Compare two files prior to copy

I would just compare the files’ modified date. getFileModDate <filename_string> You can also call getFileSize <filename_string> to get…

13 years ago
Forum
Page 3 / 150