Notifications
Clear all

[Closed] modify mode or create mode?

is there a way in Max you can query which mode (create mode or modify mode) you are?

Thanks

1 Reply

heres the command if anybody is interested, if theres a better way please let me know thank you.

macroScript toggleMode
category:“nnPolyTools”
toolTip:“Toggle Modify/Create”
–need icon
(
whichMode = SubObjectLevel

if whichMode != undefined then 
(
	max create mode;	
)
else
(
	max modify mode;
	if Filters.Is_EditPoly() == true then  SubObjectLevel = 1
	if Filters.Is_EditMesh() == true then SubObjectLevel = 1
	if Filters.Is_EditPatch() == true then SubObjectLevel = 1
)

)