Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / Dynamic Rollouts Dialogs
  RSS 2.0 ATOM  

Dynamic Rollouts Dialogs
Rate this thread
 
25991
 
Permlink of this thread  
avatar
  • Total Posts: 58
  • Joined: 23 August 2006 01:33 PM

Anyone any idea if its possible?

I want to create 5 different dialogs from rollouts.
Each dialog should have a unique name so I can do things to those later on.

I don’t know how to dynamically assign names to rollouts and dialogs for this to be possible:

Name="Title"

for i=1 to 5 do
(
rollout (Name+i) “Title “+(i as string)
createDialog (Name+i) width:100 height:100
)

Thanks for any help,
Davy



MDO, when nature calls

Replies: 0
avatar
  • pen
  • Posted: 23 April 2009 07:59 AM

Look up the rolloutCreator functions. This might be what you are looking for.

Davy Beunckens wrote:
> Anyone any idea if its possible?
>
> I want to create 5 different dialogs from rollouts.
> Each dialog should have a unique name so I can do things to those later on.
>
> I don’t know how to dynamically assign names to rollouts and dialogs for this to be possible:
>
> Name="Title"
>
> for i=1 to 5 do
> (
> rollout (Name+i) “Title “+(i as string)
> createDialog (Name+i) width:100 height:100
> )
>
> Thanks for any help,
> Davy
> --
> http://www.emecstudios.be .com (studio)
> http://www.mantania.be .com (cartoon)



Paul Neale
PEN Productions Inc.
penproductions.ca / paulneale.com
Master Classes for Max, Mudbox and Composite
DotNet Tutorials

MX Driver Car and Trailer Rig On Sale!

Replies: 0
avatar

Thanks Paul,

That is indeed what I was looking for. Used that before but on a single dialog. It works for multiple as well but its slow in creating if you need a few. So I thought there could be a different approach.

So I keep things grouped in just 1 dialog wich is super fast :)

Davy



MDO, when nature calls

Replies: 0