I have been looking for a way to get all of the family parameters in a list. (I have done a lot of searching)
Element.Parameters does not get all of the shared and family parameters. “Get Family Parameter” gets everything I want, but I can only select one at a time. Any thoughts? Thanks in advanced.
I am still noticing some parameters that do not come up using the above methods (Specifically, instance yes/no parameters are not showing). It looks like “Get Family Parameter” gets them all. Any Idea on how to create a list from that node?
Thanks for the reply. Going that route did get 3 out of 4 parameters missing. I’m going to try recreating it and see if the issue is else where. Thanks again.
@Vikram_Subbaiah
Hi.
I further developed your nodes to see if it could solve my problem and I’m almost finished. I just need some help getting over the last hurtle. I’m trying to uncheck specific parameters (Yes/No) )in a title block family that is used in a large number of sheets. I’ve manage to sort out the ones that are checked so that the can be unchecked and the last thing to do is Element.SetParameterByName but I can’t get the element correct.
Grateful for any comments. Am I going about this the wrong way?
I’ve worked a little bit more with this and I have achieved the desired result but not the way I wanted it to. I’m having difficulties with lists for some reason that is unclear to me…
If I use a Code block and add a prefix I get a list with the names of all my parameters. If I connect it to the parameterName in Element.SetParameterByName I get the result I want, to uncheck all the yes/no parameters in my Titleblock. What I want to accieve is that I first want to sort out those parameters that are checked yes and the change those to no. I’ve sorted them out but for some reason the list that comes out of that contains parameters that can’t be found by Element.SetParameterByName.
@salvatoredragotta Yes this is correct for a limited set of parameters and sheets. But most of the parameters match the ones in the title block. I’m attaching a revit file and dynamo file.
Hello, It seems like the parameters that you get from “Element.Parameters” are only the parameters from the object (red in my image), you still didn’t get the parameters of the Type(blue in my image)?
I am trying to get the parameter of the Type, so that I can do parametric modeling based on these parameters. Is it possible?