Slice Plane

Hi im having trouble activating the slice plane in maxscript

lets say i have a poly box i want to press a button in maxscript and activate "slice plane" while on the box, so i can move the yellow line to any position then have another button called slice which will slice it for me but i need it to be done in vertex mode cant seem to get it to work thanks in advance

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dinmatin's picture

after all these years, try

after all these years, try for your poly named "obj":

if(polyop.inSlicePlaneMode obj) then
(obj.toggleCommandMode #SlicePlane)

greets,

dinmatin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.