Multiple selections during function

Multiple selections during function

NachoShaw
Advisor Advisor
280 Views
1 Reply
Message 1 of 2

Multiple selections during function

NachoShaw
Advisor
Advisor

Hi

 

I have made a small tool to repeat a thickening process. The tools requires that I can select multiple faces at once and then I would need to continue. I have most of it done and I'm currently adding my selected parts to a collection however, I cant seem to break of the selection process.

 

Currently I'm using the ThisApplication.CommandManager.Pick method but it seems that once this function has started, it MUST click something. Can this method be cancelled allowing the function to continue after?

 

I would prefer something like:

 

Start function

click a variable amount of faces (keep clicking until I need to stop)

click an ok button or something that can break the picking process

function continues to process the thickening process

 

Does the Select Class allow this and if so, how can I implement the cancel process?

 

 

 

 

Cheers

 

Nacho

 

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
281 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

This is just a thought and I'm not sure if it will actually work.
What if you made the selection first then ran the function. This way you already have your selection set before you even run the function.

0 Likes