Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I want to create a script that will apply ProOptimiser modifier to the selected object, calculate how many faces the selected object has and then automatically adjust the optimization level until the number of faces is 64000 or less. So far this is the working Maxscript that I have.
macroScript ApplyProOptimizer
category:"My Scripts"
tooltip:"Apply ProOptimizer and Optimize to 64,000 Faces"
(
modPanel.addModToSelection (ProOptimizer ()) ui:on
$.modifiers[#ProOptimizer].Calculate = on
)
The trouble I am having is with adjusting the optimization level, if anyone can help out that would be much appreciated! Thank you.
Solved! Go to Solution.