add_gh_param

compas_timber.ghpython.add_gh_param(name, io, ghenv, index=None)[source]

Adds a parameter to the Grasshopper component.

Parameters:
namestr

The name of the parameter.

iostr

The direction of the parameter. Either “Input” or “Output”.

ghenvobject

The Grasshopper environment object.

Returns:
None