ScriptSpot home

Forum topic · General Scripting

Slice Plane

By Mrjacks2o · 2011-11-02

Description

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 (1)
dinmatin

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

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

greets,

dinmatin