Command to select specific curves?

Hello everyone. Is there a command to select open and closed curves that are inside a closed curve? The curves should also be selected that touch or exceed the limit within the closed curve. Thank you.

Hello- see SelBoundary for this.



Thanks Pascal. It works great!