I thought I'd be so cheeky as to post this question here due to the fact that I prefer this forum to any others.
I'm trying to automate some things I seem to need to do very often when opening .skp files in 3dsmax design 2010. Quite a lot of objects in the file seem to be ok, but are not when you try to edit them. It boils down to this:
What I can't seem to get to work, and can't find any good info in the help file or on the web, is how to select all the normals in the edit normals modifier, and then reset them?
So far this is what the maxscript listener returns when resetting:
I seem to need to be able to store the normals I think, and this is what I have so far:
Obviously the "#all" is not valid. I have tried to get it to read the array called "Normalselection", but this doesn't work. Are the normals even stored in the variable?
So what is the command for selecting every normal in the edit normals modifier?
Can anyone help me with this?
I'm trying to automate some things I seem to need to do very often when opening .skp files in 3dsmax design 2010. Quite a lot of objects in the file seem to be ok, but are not when you try to edit them. It boils down to this:
- Convert them to poly
- Add edit normals modifier
- Select all normals
- Hit reset in the normals modifier
- Reset xform
- Collapse to mesh for optimizing file size
What I can't seem to get to work, and can't find any good info in the help file or on the web, is how to select all the normals in the edit normals modifier, and then reset them?
So far this is what the maxscript listener returns when resetting:
Code:
$.modifiers[#Edit_Normals].EditNormalsMod.Reset ()
Code:
Normalselection = #{} addmodifier $ (Edit_Normals()) $.modifiers[#Edit_Normals].EditNormalsMod.Select #all $.modifiers[#Edit_Normals].EditNormalsMod.Reset () ResetXForm $ maxOps.CollapseNode $ off ConvertToMesh $
So what is the command for selecting every normal in the edit normals modifier?
Can anyone help me with this?
Comment