How to delete multiple family parameter from inside the project

this code does not work with type parameter ?

Hi everyone,
I’m trying to delete a family parameter in a project and I make this script. I select “Generic Model” as categories, and choose what family contains parameter. When I run the script the “Delete node” don’t run and delete the parameter from 1/2 element of list.



How can I risolve it?

Thanks

1 Like

Awesome script! This is going to save me so much time at work. Thanks!

Dear Experts,
Thanks for support. Seems very useful.
I also tried mentioned script however, could not able to reach proper result. The script delete some of parameter but some not (Type and Instance Parameters).
What can be reason for that? :roll_eyes:

Muraciet.dyn (19.5 KB)

You can find Revit file: https://we.tl/t-ceUoxtnc6w

Thanks.

:roll_eyes:

Dear Mark,
Thanks for solution.
At the Parameter.Delete node output is bool at my computer. However it is Document at your screenshot. That is why i could not managed to realize your solution.
Can you please assist.:

deneme.dyn (17.5 KB)

Hi,

Maybe this helps? Apologies for the scribbles :slight_smile:

Mark

Hi Mark,
How i should connect this node?
Thanks :slight_smile:

Try this? :slight_smile:

2 Likes

Hps Hector,
did this worked on type and instance family parameters which is not shared parameters?

Hi shrawanram,
when i tried this script in my project run is completed but nothing is change in my family parameters. all the parameters which i have to delete is not deleted. if i am going wrong to run this script if possible kindly guide us to run this script sucessfully.