Get mode (object, face, edge, point) with python
-
-
See the docs: BaseDocument.GetMode()
-
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 -
Thanks Sebastian.