Quickly select multiple chains

I’m using _SelChain to select all curves in a chain, but I have to hit enter to select one chain, then enter again to start _SelChain over again to select another chain, because _SelChain will not select more than one chain that are disconnected, which does make sense, it’s purpose to only select connected things.

If I have 50 disconnected chains that I want selected all at the same time, hitting enter twice between each chain is tedious, is there a better way to select multiple chains by just clicking on them one after the other without needing to hit enter twice between each chain?

Hi James,

Instead of typing SelChain on the command line, type *SelChain.

The asterisk will automatically repeat a command until you escape out of it.

HTH
Jeremy

Hi Jeremy,

Thank you for the suggestion, that does help a bit, but I still have to hit enter once between disconnected chains… to complete one chain before I can select another. At least it’s not enter twice now :slight_smile:

I wonder if there is some way to have a macro do the enter for me, but it would have to know I selected something, so not sure how that would work.

I was going to modify the Select Chain buttons so that right click does *SelChain the way some other commands work, like connect. Left click is _Connect Right click is _*Connect

Screenshot 2022-12-15 091202

But I notice that I get an error any time I use the initial buttons
I have not modified them yet. they are sending a command _AutoChain, which is coming back as an unknown command

Hi James - the 'repeat; character, ‘*’, in a macro should help"

*SelChain _Pause _Enter
Enter at the keyboard to finish.

Does that do it?

-Pascal

1 Like

that works the same as just *SelChain
if I try to select a second non-connected chain, it says “Can’t append that edge.” I need to hit enter once and then the repeat function starts a new SelChain and I can select another chain.

Click to select a chain
Enter to finish that chain
Click to select another chain
Enter to finish
click to select
enter
click
enter
click

I’m trying to see if there is a way to just
select chain
select chain
select chain
select chain
select chain

and not have to hit anything between them… in other words once I select an element of the chain and it selects it, have it auto complete and not require me to hit enter to stop selecting things… kind of a SelOneChain command that only selects one chain and doesn’t wait for you to add to it.

I wonder if the _AutoChain command the button is trying to do was supposed to do that… but it just gives unknown command… maybe it was just renamed to something else?

Hi James - that macro does what you need here, if I understand - which I may not…

?

-Pascal

Yes, you are understanding correctly, and yes it does work, I made a mistake and assigned it to the left mouse button but tested it with the right mouse button…

Thank you for your help!