private void EnterFaceSelectionMode() { // Switch to edge selection mode Context.CloseAllContexts(true); Context.OpenLocalContext(true, true, false, false); Context.ActivateStandardMode(TopAbsShapeEnum.TopAbs_FACE); }
private void Reset() { // Suspend the face picker Inputs[InputNames.FacePickerPlane].Send(NotificationNames.Suspend); // Switch to edge selection mode Context.CloseAllContexts(true); Context.OpenLocalContext(true, true, false, false); Context.ActivateStandardMode(TopAbsShapeEnum.TopAbs_VERTEX); _sourceSelectedEntity = null; _destinationSelectedEntity = null; _currentSelectedEntity = null; }