View Full Version : Maxscript
Reality3D 12-27-2001, 08:26 PM Is there any form of creating dinamically buttons,spinners etc... with maxscript(r 4.2)?
Thx in advance
|
|
LFShade
12-27-2001, 08:47 PM
I'll have a look-see. I know you can create dynamic rollouts, but I'm not sure about dynamic buttons. You may want to ask over at the Discreet forum, you'll be sure to get a good answer there:
support.discreet.com (http://support.discreet.com)
If you haven't already, you'll need to register in order to post.
Reality3D
12-27-2001, 09:00 PM
Thx, i'll try at it
Reality3D
12-28-2001, 12:31 AM
I found a way, writting the code to a var and then using this
---
execute <string>
Compiles and evaluates the contents of the string as a MAXScript expression and returns the result of the evaluation.
---
:)
TiGER
12-28-2001, 01:33 AM
there's a book i just got called "Inside 3ds max 4" written by Kim Lee and published by New Riders.
the first chapter of this covers exactly this feature in max4.2
you have to use the new Visual MAXScript. there you can create buttons, sliders, etc...
once you have all your script you just copy and paste the sections of script into the appropiate places. from there you can modify any of it to be controlled by the UI you create.
- TiGER
Reality3D
12-28-2001, 02:47 AM
Thx tiger, but with dynamic i'm not refering to create ui visually, but to create new buttons not defined in the script on execution time, and got it ;)
LFShade
12-28-2001, 05:41 AM
Glad you got your answer! I noticed your post over at discreet, but Swami is so quick he beat me to the punch:p
Just out of curiosity, whatcha scriptin? If it's gonna have dynamic buttons and such, it must be something extra-super-cool! I've been doing some scripting myself lately, so I've become very interested in what other MXS-ers are doing.
Ciao for now!
CGTalk Moderation
01-13-2006, 12:26 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.