I'm doing a simple model review script, and one section of the review checks to see if the model's pivot is within its bounding box... If it isn't, then I prompt the user to fix the pivot, either by centering, snapping, or interactively placing the pivot... If the user chooses to fix the pivot interactively, then I want to focus a camera on the model to be fixed and put the user in edit mode to fix the pivot....
But I don't know of a command to query whether or not the user is already in edit mode (i.e. I don't have to use ctxEditMode in this case).....
Is there such a command?