World Align Pivot

World Align Pivot

admin
Participant Participant
360 Views
1 Reply
Message 1 of 2

World Align Pivot

admin
Participant
Participant

Hey Folks

I have this Maxscript.

I want to align the Pivot of the picked objec:
1 - to the world
then 2 - to the min of z i already know this
and then  move the objekt to zero zero zero on xyz 

Its for 3d print users to quickly repair objects before printing on a button.

Here is my base:

rollout PivotRepairing "Repair Pivot" width:162 height:300
(
pickButton 'pbObject' "CLICK OBJECT" pos:[0,8] width:160 height:32 align:#left
 
on pbObject picked obj do (
 
pbObject.text = obj.name === this works fine!
WorldAlignPivot ==== here i want to set the pivot up correctly.
)
 
)
 
 
 
createDialog PivotRepairing




0 Likes
361 Views
1 Reply
Reply (1)
Message 2 of 2

istan
Advisor
Advisor
0 Likes