[Closed] How to know if MAX is in "cut mode"?
I will explain better, than in the title:
- select editable poly object
- go to vertex sub-object level
- press the CUT button and start cutting the mesh
- while you still in “cut mode” you can go to the Listener and type something like
classOf $, then press Enter and in the listener you will see the class of the selected object - no, if you move the mouse over the mesh, you can continue the cut operation
My question is – is it possible to know(using timer or someting else) when the “cut mode”(or any other similar mode) is active?
Thank you.
This works for Editable Poly and Edit Poly objects.
For Editable_mesh, Path, nurbs it not works.
Also, this will not tell me if the user creates an object in the scene. For example, when you press the Cone button you have to set the radius1, height, radius2. During this time the mouse is in “create mode”. I want to know when the mouse is “free”(idle – mouse.mode is not a solution) and I can start doing someting else – selecting the object, subobject elements, creating new objects, cur the mesh, extrude, etc.
Is it possible to know this or not?
.
the edit poly modifier provides a “Getoperation()” method. While in Cut mode ( after the first mouseclick which essentially starts the cut operation) it reports “#cut” ( otherwise “0” or any other mode the editpoly modifier is in currently ). Don’t know wether this maxscript exposure applies to the editpoly baseobject too
Edit:
ahh – now after reading the other responses i understand that you do’t want to be limited to edit poly
Yep. With other words I need to know if when the user click with RMB in the viewport the Quad menu will become visible(this is not the goal, but just for explenation).