Message 1 of 2
MaxScript Methodology: Loops...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good morning, this post is more about the understanding of how to approach MaxScript when it is being continuously executed which I assume will be using some form of Loop to keep the script active, or maybe there is a mode which you can put the script into?
An example of this would be say using the "PainterInterface" you would first execute the Painter script and then execute a Loop to keep the script active and obtain the user input data etc. However I am finding that running a Loop in instances like this I have troubles exiting the Loop or the Loop interferes with whats being executed (mostly performance wise).
Would there be a particular mode that you can put the script into rather than a Loop which you can say Enable/Disable via a GUI Button. Such as a button like ... ... etc.
Again this is not specific to Painting it can be for anything which requires continuous updating until the user decides to stop executing.
An example of this would be say using the "PainterInterface" you would first execute the Painter script and then execute a Loop to keep the script active and obtain the user input data etc. However I am finding that running a Loop in instances like this I have troubles exiting the Loop or the Loop interferes with whats being executed (mostly performance wise).
Would there be a particular mode that you can put the script into rather than a Loop which you can say Enable/Disable via a GUI Button. Such as a button like ... ... etc.
Again this is not specific to Painting it can be for anything which requires continuous updating until the user decides to stop executing.
--------------------------------------------------------------------------------------
Technical 3D Graphic Artist
Autodesk 3dsMax 2015 - Service Pack 4
--------------------------------------------------------------------------------------
Technical 3D Graphic Artist
Autodesk 3dsMax 2015 - Service Pack 4
--------------------------------------------------------------------------------------