group pivot to min.z
I am trying to set the pivot of a currently selected group to min.z.
I can do this for an ungrouped object but I am struggling to find a way to do it if the current selection is a group.
I have looked through Maxscript help but as a novice I am totally lost. It seems groups are a bit more tricky to understand.
I need something along the lines of...(I know this is very wrong but gives you an idea)
if selection == group do (
group.pivot = [group.min.z]
)
Many thanks in advance
Comments
I have grouped 2
I have grouped 2 boxes,
select my group and type in the listener
Thanks Jos, That explanation
Thanks Jos,
That explanation really helped!
No ideas guys :( Like I say
No ideas guys :(
Like I say I'm very new to maxscript and cant get my head around working with groups.