Message 1 of 5
MaxScript - How can I keep a geometry plugin’s rollout from automatically closing?

Not applicable
09-25-2007
07:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've noticed when I run certain MaxScript functions such as AddModifier, whatever rollout is currently active in the create tab is closed.
You can try this by creating a box, selecting it and then opening any geometry create rollout and running the following script command in the script listener:
xcloth = Cloth()
AddModifier $ xcloth
In my plugin I'm running AddModifier after the user presses a button. Unfortunately it closes the whole thing which isn't the desired effect. So I'm wondering if this can be avoided at all, or if there is some way to reinvoke the plugin causing the rollout to reappear.
thanks in advance
You can try this by creating a box, selecting it and then opening any geometry create rollout and running the following script command in the script listener:
xcloth = Cloth()
AddModifier $ xcloth
In my plugin I'm running AddModifier after the user presses a button. Unfortunately it closes the whole thing which isn't the desired effect. So I'm wondering if this can be avoided at all, or if there is some way to reinvoke the plugin causing the rollout to reappear.
thanks in advance