Exemplo n.º 1
0
 private void EnterFaceSelectionMode()
 {
     // Switch to edge selection mode
     Context.CloseAllContexts(true);
     Context.OpenLocalContext(true, true, false, false);
     Context.ActivateStandardMode(TopAbsShapeEnum.TopAbs_FACE);
 }
Exemplo n.º 2
0
        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;
        }