Like it says, I’m just trying to get the parameter value for a family that is a Type Parameter. So far I haven’t had any success using the current components, and I haven’t been able to port over the code from the Dynamo scripts I have to do the same thing. These are Type (shared) parameters in a family I created. They seem to be pretty difficult to get a hold of.
This is what I use in a code block in Dynamo to get the Type parameter:
@dev.jer
The method for collecting elements in Revit, depends heavily on the use case. I’m not sure if the dimension data collected here is to generate a report or filter the doors by size. If the goal is to collect this data to further filter down the elements, it is better to use DB.ElementFilters for this puspose.
Hi @kike, Ok I will use that. I think the part that I was missing/misunderstanding is that I can also decompose the Type (like you showed earlier in this thread) to get access to the Type parameters. If I use decompose in that way, then it is quite fast. Thank you and @eirannejad for all your help!