Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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)
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
See the docs: BaseDocument.GetMode()
Thanks Sebastian.