Developer forum
Showing results for 
Search instead for 
Did you mean: 

Rotating objects on their own axis

Not applicable
I want to write a function that rotates the selected elements in the same angle, but each on their own axis of rotation.

I tried iterating through each of the api_neigs of the selected elements, and getting their corresponding element instance, from which i take the objects position. It seemed to work alright

The problem is i can't get them to rotate, each on on a different pivot. The edit function doesn't work when i try to insert each to a new neig array. Maybe i didn't instantiate the arrays correctly.

Could someone help?

Thanks a lot!!!

Ralph Wessel
Sorry, which rotation function are you trying to use? Do you have some sample code to illustrate what you're trying to do?
Ralph Wessel BArch

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!