Select all the elements of a view and draw a circle in its center

Hello. I’m Mario, from Spain (my English isn’t very good, sorry). I’m new with Dynamo and I’m trying to write a script that when selecting an item, draws in the same view some curves in the x,y of all the same elements to that one selected element.
I’ve been trying for several days but I’ve only managed to draw the curves of all the elements in the project on a level.


Hola. Soy Mario, de España (mi ingles no es muy bueno, perdon) .Yo soy nuevo con Dynamo y estoy intentando escribir un script que al seleccionar un ejemplar, dibuje en la misma vista unas curvas en el x,y de todos los elementos iguales a ese un ejemplar seleccionado.
Llevo varios dias intentado pero yo solo he conseguido que dibuje en un nivel las curvas de todos los elementos que hay en el proyecto.
Uploading: DIBUJA CIRCULO EN X-Y DE TIPO FAMILIA-ver4.dyn…
Uploading: REVIT.jpg…

1 Like

Hello
See if it can help you, don’t forget to remove the automatic mode

Cordially
christian.stan

Thanks :blush:

1 Like