Select faces based on axis alignment?

Hi there, I would like to be able to select all the faces on a piece of geometry that are aligned to an Axis, in this case -Z.

I have been able to get them using the select by normals function via the graphite modelling toolbar but a command does not appear via the listener.

Could anyone point me in the right direction? Thanks for your time :)

K

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Vapourise's picture

Hey and thanks, after a few

Hey and thanks, after a few hours of rooting around (still getting used to all that documentation) I came across the same command and used it successfully, using the 'true' function and a playing with the angle worked :)

cheers

K

zahid hasan's picture

hi, could you please post

hi,
could you please post your solution.it would come handy in many cases.

Anubis's picture

PolyToolsSelect.Normal

I'm on Max 2009 so can't test graphite tools (they're new in Max 2011), but found in the new help docs this function (PolyToolsSelect.Normal).
It's very strange designed.. no threshold option to control/limit the angle. It select range between 0 and the given angle or between the angle and 180. Also not see option for -Z axis. Probably angle of 180 with last argumet 'true' will do the trick?

select $MyPoly
max modify mode
subObjectLevel = 4
PolyToolsSelect.Normal 3 0 false -- +Z
PolyToolsSelect.Normal 3 180 true -- -Z

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.