Creating variables in a script controller via maxscript

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 01 January 2008   #1
Creating variables in a script controller via maxscript

Hi Guys!:

I was creating a script controller dynamically via maxscript that needed some variables and found a little problem.
I searched in the help but couldn't find a way to define variables in a script controller created with maxscript (in the same way you can create them with the interface). Should they be created via weakReferences?. Thanks in advance!!
__________________
Borja Morales
r3D
 
Old 01 January 2008   #2
Auch, as usual just answered myself after posting...

It's done with addNode
sorry
__________________
Borja Morales
r3D
 
Old 01 January 2008   #3
Originally Posted by Reality3D: Auch, as usual just answered myself after posting...
It's amazing how often this happens

Shane
__________________
If it's worth doing, it's worth scripting
Don't wish for this to be eaiser, wish for you to better
 
Old 01 January 2008   #4
use showInterfaces on the script controller and it will print out what you need.
__________________
Paul Neale
http://paulneale.com
 
Old 01 January 2008   #5
Thanks
Strange it was not in the help. But good to know how useful showInterfaces can be
__________________
Borja Morales
r3D
 
Old 01 January 2008   #6
Don't say it's not in the help.. *cautiously looks around* he'll find you!...

Anyway it's in the help file "showInterface Inspector Function"
there's more handy functions like that like showproperties.

It's not mentioned in the script controller page because it's a general purpose function.

-Johan
__________________
Online: LinkedIn
 
Old 01 January 2008   #7
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 10:10 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.