NXOpen.UF.Undo.UndoToPrevMark

Undo.UndoToPrevMark()

Refer to UF_UNDO_undo_to_prev_mark for documentation.

Signature: UndoToPrevMark(visibility, previousTo)

Parameters:
  • visibility (NXOpen.UF.Undo.UserVisibility Refer to UF_UNDO_user_visibility_e for documentation.) – The desired visibility of the mark to undo to.
  • previousTo (int) – find the last mark of “visibility” appearing before this mark
Returns:

The ID of the mark undone to.

Return type:

int

License requirements: None