Python rhino

Hello
I should creat some curves by python in rhino using rhino eto form. User should be able to select some of them and after submitting the should be deleted from the file. I would be grateful if anybody can help me to find out how I can write a code for that. Specially the delete part

Here’s the place to start Rhino - Writing Custom Eto forms in Python.

Yes, I know, I want to know how user can select some shapes and after submitting them they will be deleted or be hidden.

Hello,

Can you give some more details of what you are trying to do and what you have tried so far? Why do you need a form? This post discusses how to select and delete objects with Python:

Thanks for your reply
I have to create the structure of a tower with poly lines in python and use rhino eto form. In each floor between the columns some cubes should be generated, user should be able to select randomly between the boxes and after submitting the chosen box should be omitted from the structure.