Document custom parameter grasshopper

Hi Everyone,

I wonder if it is possible to set the value of either a document or an object custom parameter in Grasshopper. I see the option to check the document parameters… maybe with option parameter and parameter option?

Thank you for your help!

Hi Pedro, yes you can do that with the “Set Property Component” (VisualARQ > D.Generics > VisualARQ Set Propery). The string you plug into the Property input must be the same as the name of the existing custom parameter.

Thank you!!!

:slight_smile:

By the way, from VisualARQ 2.4 it won’t be possible to assign the Property using a string but using a Parameter Param component.

2 Likes

Whenever I get IT to install the last updates of VisualArq on my Workstation we will talk about that :wink:

@fsalla , it is possible to generate or call these Parameters as VARQ objects?

I have a list of Parameters already existing in a Space Style (and walls, and slabs, etc), but not as ‘Rhino Parameters’, and assumed that I could feed in a Property / Value as Strings like I would with Keys / Values.

It works on some of the items, but fails on others with a Solution exception:Object reference not set to an instance of an object error.
These are my data trees:

Hi Kevin,

I don’t get what you mean.

You need to distinguish between Rhino parameters (which I guess is what you mean by Rhino “User Texts”), and VisualARQ’s custom parameters.
In the case of VisualARQ parameters, you can identify their names with the “Property Names” component, and the corresponding values with the “Get Property” component.
Then you can feed the object with new parameters and values with the Set Property component or the “Update Property” component:

If you have an example where this fails, please send it over.