Notifications
Clear all

[Closed] Subobject:4 Select by Angle problem

Create a plane and convert it to editable poly.
Set viewport in wireframe mode and hide the grid to better view.
In polygon subobject level check “By angle” and let the 45 value,
and now select any polygon in the plane: all the polys are selected
thanks to the By Angle checkbox.

Now I need do the same in maxscript. I enter the angle with:

$.selectByAngle = on
$.selectAngle=45

and then I select any poly:

$.EditablePoly.SetSelection #Face #{11}

but only poly 11 is selected. So why is not working the
selectByAngle switch I turned on?

(Don’t works too: polyop.setFaceSelection $ #{6} )

Note: The workaround with smooth groups and their angle is not
valid for the script I am writing.