Hi Everyone
I am very new to max script and trying to build something that I feel should be extremely simple... i just can't seem to get it to work.
I am sure I am making some beginner mistake, but I am not getting any errors in the listener, and from the information in the help file I think I have it written correctly.
All I would like the script to do is convert the selection to an editable poly and then quadrify all. I often get heavily triangulated Imports from AutoCAD and this can be helpful when cleaning up the meshes.
Here is what I have currently. for some reason the quadrify does absolutely nothing.
For i in $ do
(
s=selection
ConvertTo s Editable_Poly
select s
PolyToolsModeling.Quadrify
)
If someone more experienced could help explain to me what is wrong and why this is incorrect I would greatly appreciate it. I am trying to learn how to script and would really like to understand so that I don't repeat the same mistakes in the future.
Thanks!
barigazy · 2013-12-06