turning diagonals of selected polys
Maybe someone can give me some advice:
You know the "Turn" button for editable polys, available in all selection modes, besides in vertex selection. Its a toggle button and I only can turn the diagonals one after the other by klicking on them. What I want is a script that turns the diagonals of all selected faces all at once.
I figured out the command:
<bool><EditablePoly>.TurnDiagonal <index>face <index>diagonal
Now I need to run this command on every selected face - I suppose it must be done using a loop that runs through an array of the selected faces. I'm right, am I not?
It sounds quite simple to me, but since I´m lacking coding skills, its very difficult for me to get that thing to be functioning.
If the effort is not to high, I would be very appreciated for some hints or even the explicit code.