$.modifiers[#MultiRes].reqGenerate Help!!!!
Hi folks,
I'm trying to apply the MultiRes modifier by script to reduce the vertex numbers for a lowpoly output, but don't work, I opened the modifer list and the modifier is there and works only if I click the Generate button. I need it automatic controlled by the script.
I'm stucked, please help a noob (me) to finish his first 3dMax script :)
my code:
...
select obj
--add modifier
modPanel.addModToSelection (MultiRes ()) ui:on
$.modifiers[#MultiRes].BoundaryMetric = on
$.modifiers[#MultiRes].baseVertices = on
$.modifiers[#MultiRes].mergeVertex = on
$.modifiers[#MultiRes].mergeThreshold = 0.25
$.modifiers[#MultiRes].mergeWithinMesh = on
$.modifiers[#MultiRes].reqGenerate = off
$.modifiers[#MultiRes].vertexCount = 1056
update $
-- don't work, still a high mesh vertex!!!!!
Comments
(--OPEN local scope local
Raphael Steves