Assigning Object Parameter

Hello,

I am trying to assign a parameter to an object in Grasshopper. (eg. Parameter is Fire Rating, Value is 2hr).

I am using the “Set Value” component. When I use the “Get Value” component, the value shows up with no problem. However, after baking the object, Only the Parameter name is shown. There is no value under the parameter.


Would appreciate any help, thanks!

Hi @Aretha I think the value doesn’t “bake” due to an error in the Create Object Parameter component. If you use a Create Document Parameter instead, it should work.

Thank you, that works!
However, what is the difference between the document parameters and the object parameters then?

Hi, adding on with another issue regarding parameters,

I am now trying to update the parameter of an existing wall, but I am encountering the same problem where the parameter name appears but there is no value.

I am using the “Create Document Parameter” component

The Document parameter is visible for any object in the model, while the Object parameter is only visible for a specific object.

That’s strange. Does it work if you skip the “Set Value” component? (you don’t actually need it because you are assigning the value directly with the the Update property component).