it is definitely a noob question. I have a lot of experience in working with Dynamo and the Revit API with C# and Python, but I am new to Grasshopper. Any help would be appreciated
Thatâs weird⌠especially when these parameters are not available in the API. Is it possible that this is a RI thing somehow? Like in my case, the family is a generic model and does not contain the Built-in Height parameter in the family template, so I only have one instance parameter for Height. What is even more weird it does not appear when you access the element parameters through the API and in no other case other than through RI. Curtain wall parameters should also typically have a single Height. I could try getting that parameter through the API, using its Id and investigate but I will have time to try this maybe tommorow
I get it, but if they donât appear in the context of the Revit API, they should not really exist. It seems to me it is some kind of a bug, related to the specific component
Change the Boolean to âFalseâ since you donât want the âReadOnlyâ one which is usually the extra system parameter (I agree/believe it shouldnât be showing up), you would want the parameter you can edit which is NOT âReadOnlyâ
anyway itâs still weird and the data keeps being inconsistent with the one from Inspect Element (which is actually identical with the one from the API, as it should be):
This one shows the single Height parameter. I would probably either use that one in the future or write my own C# component for basic retrieval of data. It seems like the standard way of doing this is far too complicated for such a basic task
yeah, Inspect Element seems to work fine, I was just trying to understand whatâs wrong with the other one. Inspect Element would probably be a bit too difficult to work with when you need to get data from a more complex family with much more parameters, as you would need to circle through all of them. But it is what it is. I also see it does not show type parameters. A simple component for basic retrieval of a parameter value, either type or instance would really come handy in my opinion
yeah, Iâm just used to getting this data like that :
Itâs just not that handy, thatâs all. And we already went through discussing the weird results Element Parameter Component returns sometimes. Anyway, Itâs more or less clear to me how to approach this task using RI now
Totally not offended just trying to make sure we are on the same page, what you are seeing Null is the value of the parameters you want to input your text as shown below⌠totally ignore âQuery Element Parameterâ for now, to achieve what you need, or am I missing something?
And for the door I assume you have it as Type parameter, so you might need to input the Type which contains that parameter? If thatâs not what you are after then totally disregard this message xD