CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 11-14-2012, 01:59 AM   #1
doctor3dmax
Veteran
doctor3d
cairo, Egypt
 
Join Date: Mar 2008
Posts: 31
on rollout open do -- system exception

Hi

just silly problem , I keep getting ** system exception ** "thats the error keep saying no more info"

when i use "on rollout open do "anything"

u can try it

Code:
(--begin on Main open do ( print "Test , I'm in" )--end on open rollout test "test" ( button but1 "ttttttt" width:112 height:24 )--end roll test if Main != undefined then CloseRolloutFloater Main Main = NewRolloutFloater "anything" 250 650 addRollout test Main )--end all






do I have to to convert it to a utility script ?
I think cause of its rolloutfloater , anyway around that ?

I need script to be excuted on open and i got multi rollouts

thanx
__________________
 
Old 11-14-2012, 07:11 AM   #2
doctor3dmax
Veteran
doctor3d
cairo, Egypt
 
Join Date: Mar 2008
Posts: 31
found it

Code:
on execute do


i told u silly question

thanx
__________________
 
Old 11-14-2012, 10:31 PM   #3
martinez
Expert
 
martinez's Avatar
portfolio
Juan Martinez
Animator
Verse, Inc
Dallas, USA
 
Join Date: Feb 2002
Posts: 207
Send a message via ICQ to martinez Send a message via AIM to martinez
I'm glad you found a solution. But just to clear up the issue with your first post.

Main is a RolloutFloater, not a rollout. On Rollout Open needs to be used inside of a rollout.

Code:
rollout test "test" ( button but1 "ttttttt" width:112 height:24 on test open do ( print "Test , I'm in" ) )
__________________
Juan Martinez | Blog | Animator
 
Old 11-15-2012, 06:30 AM   #4
doctor3dmax
Veteran
doctor3d
cairo, Egypt
 
Join Date: Mar 2008
Posts: 31
thanx

just small issues makes my head spin
thanx for the info
__________________
 
Old 11-15-2012, 06:30 AM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:52 PM.


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