update_component

compas_fab.fab.grasshopper.update_component(ghenv, delay)[source]

Schedule an update of the Grasshopper component.

After the specified delay, the GH component will be automatically updated.

Parameters:
  • ghenv (GhPython.Component.PythonEnvironment) – just available from within the python Grasshopper component.
  • delay (int) – Time in milliseconds until the update is performed.