Exemplo n.º 1
0
        internal void SelectSourceComponent()
        {
            _state = CommandState.SourceComponentSelection;

            _InteractionManager.Stop();

            _InteractionManager.Reset();

            _InteractionManager.SelectEvents.SingleSelectEnabled = true;

            _InteractionManager.SelectEvents.AddSelectionFilter(
                Inventor.SelectionFilterEnum.kAssemblyLeafOccurrenceFilter);

            _InteractionManager.Start("Select source component");
        }