Ok, I use polyop.getFaceCenter $ 1. It returns Local Coordinates of the face [-23,35,0] so I can select any face which is with a specified XY location and then use polyop.detachFaces with a name: option to name the new node. I do see the face numbers change after a selection is detached but it should not matter if I select faces within a certain XY. Now I simply have to read up on how to read and manipulate Local Coordinates and it should just be a job of logic to create the script. EDIT->ok, duh. you simply add an .x .y or .z to the variable. I feel dumb for even writing the above statement. I have been coding PHP for 2 years and am just coming back to MaxScript so I am back a few steps.
|