MarcoBrunetta
@marcobrunetta
New Member
Joined: Feb 15, 2024
Topics: 14 / Replies: 255
Reply
RE: Automated Material Editing

Exactly! Think of evaluating as “installing” the script if you want…

16 years ago
Forum
Reply
RE: Urgent – Convert string to color?

He knows, that but he needs to convert it from a string into a color value, probably because he is reading the data from a txt file or xml or somethin…

16 years ago
Forum
Reply
RE: Dynamic Rollouts

Cool, thanks for the tip /me adds “flowlayout panel” to the list of stuff to check out

16 years ago
Forum
Reply
RE: Dynamic Rollouts

The you might want to try the subRollout method. Basically you create a subRollout control on your main rollout. Whenever you need to change/update th…

16 years ago
Forum
Reply
RE: Dynamic Rollouts

Yhea, that too. Of course that requires you to know the number and type of controls beforehand. You probably know this, Pete, what about .net forms? …

16 years ago
Forum
Reply
RE: Dynamic Rollouts

You can’t add or remove controls from a standard maxscript rollout. You do have some workaround though like setting them to visible/invisible or gener…

16 years ago
Forum
Reply
RE: seed scope?!

Hehe, been there, done that…

16 years ago
Forum
Reply
RE: seed scope?!

You are using it wrong, seed is a function, not a a variable. You use “seed 30” to set the random seed to 30. In your case you should change “seed = s…

16 years ago
Forum
Reply
16 years ago
Forum
Reply
RE: Macroscript error turning lights on and off

LOL. I kinda of feel like we should re-write the code with a more object oriented approach however…

16 years ago
Forum
Reply
RE: Max 2010 maxscript evaluate bug?

Hum, strange, maybe you have some other scripts in MAX2008 that are pre-declaring the variables used by the script that is giving you errors?

16 years ago
Forum
Reply
RE: Max 2010 maxscript evaluate bug?

Most likely a problem with variable scope.

16 years ago
Forum
Reply
RE: How do I Script – Specifying Gamma Output when Saving Rendered Thumbnails

Honestly I think your solution is as good as it’s gonna get. Seems like MaxScript has no interesting in considering the gamma values :shrug:

16 years ago
Forum
Reply
RE: How do I Script – Specifying Gamma Output when Saving Rendered Thumbnails

The first thing to check would be the “Bitmap Output Gamma” in the Gamma & LUT preferences. Then for some Maxscript related issues check this thr…

16 years ago
Forum
Reply
RE: Macroscript error turning lights on and off

Weeeeellll you might as well add UNDO to it… ( local CurSel = GetCurrentSelection() if CurSel.count > 0 then ( UNDO “Switch Light State” O…

16 years ago
Forum
Page 9 / 18