Align object's pivot to object's orientation

Align object's pivot to object's orientation

kenc
Advocate Advocate
9,276 Views
60 Replies
Message 1 of 61

Align object's pivot to object's orientation

kenc
Advocate
Advocate

I have a DXF from Softplan that I import into max. When the objects come in they all have the same pivot rotation orientation. I then center the pivots to each object's center as seen in image1.jpg

 

What I need to do is by maxscript is to align the object's pivot to the object's orientation. In image2.jpg the pivot for an object does not align with the object but rather at 45 degrees.

 

In image3.jpg this is how I need to rotate the pivot to align with the object.

 

Help would be much appreciated.

 

TIA

0 Likes
Accepted solutions (3)
9,277 Views
60 Replies
Replies (60)
Message 61 of 61

denisT.MaxDoctor
Advisor
Advisor
Accepted solution

@kenc wrote:

@denisT.MaxDoctor thank you. I'm sure we'll run into each other again down the road.


do you mark this as a solution?

0 Likes