Hello everyone,
I have prepared an excel table in which I have collected built in parameters (BIP) that I need (import). I want to find out the values of the BIP. However, the problem is that I can not find the category and I do not know how to access these parameters and give a value in case. For example, how can I find out the sum of all rooms?
I am so happy for some help! I am completely new to Dynamo and I am trying hard to gather all information out of the forum but couldnt reach what I need…
When you say sum of all rooms, do you mean the sum of the room areas?
If so, you’ll want to get a list of all rooms (Categories node set to Rooms → All Elements of Category node), then from that you’ll want to use a GetParameterValueByName node and a code block that says “Area”; (there might be a node that reports area, I’m not at my pc so can’t check).
This will list out all the room areas, which you can do what you like with.
Hello Dan,
thank you very much for your answer! Yes, I dropped using the built in parameters and switched to the method as you suggested. Its not actually what I was looking for but it works, thank you
About the sum of the areas, is there no way that there is a parameter that already has the value which I can just extract? I hoped, for instance ANALYTICAL_MODEL_AREA already has the value
There might be a node that allows you to feed in a list of rooms and it output the areas (likely called Room.Area or something like that) but I’m not at my pc to check. The GetParameterValueByName method explained above will give you what I think you are after, using 2 nodes rather than 1.
I fear however that I’m still not fully understanding what you are looking for as an end result.
Are you looking to extract parameter values from your model? Or parameter names themselves?
Hello,
what I originally wanted to find out is how to find out to extract all information what is marked yellow because I only get null (red marked). How I understand it now, it is not that easy as I imagined to extract the information from the BIP but I need to create my code for every single parameter. Is it right, would you agree with me?
Do you have parameters in the model that are named exactly like that, with the same capitalisation?
I’m not familiar with this GetBuiltInParameter node, but I don’t think this will return the value of the parameter.
What your script is doing is trying to get each of the 14 Built In Parameters against each element - if it returns a null the parameter is not present in the element
The Bip are basiclly what you would use if you script via C# and python. its not applicable to dynamo nodes. and even when working with them in script you would have to know from which categories to get them to actually be able to use them.
i am afraid that what you are asking for is kind of hard. if you know which categories you need the data from there is a lot of ways to move forward but without that information yah its not going to work.