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