Set Global Parameter

Hi All,

I am looking for some assistance on setting global parameters. I am trying to use the node GlobalParamter.SetValue, to change the height of my walls and ceilings in a project, based on the size of floor beam used. I have attached my current graph for reference, which is all working as required, save the setting of global params.

Any help would be appreciated.

What are the error messages you’re getting? :slight_smile:

1 Like

Hi Jonathan,

I get the below error message, for both instances:


Make sure what kind of input your global parameter expects… e.g. if it can hold “strings” give it strings, if it can hold doubles give it doubles etc… you can use the Object.Type node to find out what kind of data dynamo try to pass for you.



Thanks Jonathan, That fixed it… It was requiring doubles as an input.

Thanks for your help!

Hi guys,

i can’t do this work =/

the kind of parameter is integer, and not working…


1 Like

how can i set the value of a specific global parameter? is this possible

Seems like this node works not fine with Integer Parameter Types. Even in latest Dynamo versions. :grin:
I use Python, works fine!

import clr
from RevitServices.Persistence import DocumentManager

from Autodesk.Revit.DB import IntegerParameterValue, Transaction

doc = DocumentManager.Instance.CurrentDBDocument

g_parameter = UnwrapElement(IN[0])

with Transaction(doc, 'Set Global Parameter Value') as t: