I am trying to collect these windows with an instance width and height… and then duplicate a family that has width and height as a type and feed it the width and height parameter and doing so i get Type windows.
This works perfectly…but i also wanted to put in this yes/no parameter for if it is a door… And then duplicate a door family and replace the window for a door… Now this is tricky and i havn’t got that working yet.
It doesn’t want to swap the family because it is an other category.
So i thought let’s first read the parameters of the window it’s location and host and then delete it, and then place the door at the same location on the same host.
but some how… my script gets the results back to the beginning of the script…so the moment i delete the family the data isn’t there anymore…
below is the beginning of the script…picture one, just collecting the data… but when i connect to the rest of the script…it shows the results all the way to the beginning. This isn’t normal right?
i made the connection saved the file…closed the file and opened it…then run it…