I'm working on an alignment tool and I need to know if the user is currently manipulating edges, vertices or face or is in object mode.
Is there a way to query the current mode state with python? So i want to know which of these buttons is selected.
l)
Solved Get mode (object, face, edge, point) with python
Hello,
the edit mode is stored with the current BaseDocument and accessed with GetMode(). See also IsEditMode().
if doc.GetMode() != c4d.Mmodel:
return
best wishes,
Sebastian
MAXON SDK Specialist
Hello,
the edit mode is stored with the current BaseDocument and accessed with GetMode(). See also IsEditMode().
if doc.GetMode() != c4d.Mmodel:
return
best wishes,
Sebastian
MAXON SDK Specialist