Setting Global Parameters

I’ve searched the forum but have not seen a conclusive answer as to whether you can adjust Global Parameters via Dynamo. I have seen how to access their values but not manipulate them. Global Parameters - #2 by Dimitar_Venkov
Is it possible to Set the parameter?


It seems like the API allows it.

Unfortunately it’s not a one-liner. I only needed to get values at the time so I didn’t bother to make a node that sets values, too. Basically you have to check the data / unit type of the parameter and then check if your input value is compatible to that type. If it’s a length param (or anything else with a unit) you’ll have to perform a unit conversion as well.

Sorry, I couldn’t resist.