Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
rikard.nilsson
968 Views, 10 Replies

Struggle with matrix

Hi,

 

I'm having trouble to get a rotation of a Occurrence.

I want to rotate it with 3 angles. 

The thing that I can't figure out is how to combine three SetToRotation to get the specific rotation.

Let's say I first rotate around Z-axis 90 degrees. After that I want to rotate around my Occurrence new X-direction (the assemby Y-dir). And after that rotate around the Occurrence new Y-direction.

 

The only sultion I can create is the one that always rotates around the assembly axes.. But that is not what I want.

 

So is there someone how can guide me in the right direction to have an Occurrence to rotate around it's own axes and not the assembly axes?

 

Regards

Rikard