PDA

View Full Version : modify mode or create mode?


Technofreak
04-02-2004, 11:17 PM
is there a way in Max you can query which mode (create mode or modify mode) you are?

Thanks

Technofreak
04-05-2004, 05:50 PM
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
)
)

CGTalk Moderation
01-17-2006, 11:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.