Notifications
Clear all

[Closed] addModifier vs add it manually

Hi! I’m totally lost. I’m using max 2012.
When I add Slice modifier manually from menu, it adds ok, slicer gizmo position [0,0,0], in world space also 0,0,0 coordinate (object pivot is at world coordinate 0,0,0) as well.

but if I use maxscript:

addModifier _torso (sliceModifier ())

planer slicer gizmo is not at [0,0,0] anymore, it is somewhere far away

but it has transform.position [0,0,0]
matrix is identical to that matrix I have if I add Slicer manually, from modifer menu

So where can that difference come from? Maybe it is a bug?
Why adding from menu manually works fine, but from mascripts slicer gizmo plane is moved somewhere else?

1 Reply

What if you use:

modpanel.addModToSelection (sliceModifier())

Go read the notes under addmodifier here, to see the difference.

-Eric