1. Home
  2. Docs
  3. Semantic Documentation
  4. HOW TO: Change a Property Value from Grasshopper

HOW TO: Change a Property Value from Grasshopper


Semantic’s Grasshopper plugin allows users to write values to an established Semantic property. This allows users to create scenarios where values can be parametrically authored based on logic established in Grasshopper.

Write a property value using ‘write properties’

1. Identify a property in Semantic to write to

Inside of Semantic in Rhino, define a property to write values to. Here a property named “Grasshopper Number” is defined to expect number values.

2. Open Grasshopper and find the ‘Write Properties’ component

The following definition snapshot describes a workflow for assigning random numbers to a Semantic field from within Grasshopper.

  1. Objects are referenced from Grasshopper with the Pipeline
  2. GUIDs for the Rhino objects are used.
  3. Some numbers are defined (Random as a placeholder)
  4. The ‘Write Properties’ component is used to fill in the value for ‘Grasshopper Number’

3. Check if the property value has been written to the object

After setting the “Execute” toggle to ‘True’, you can verify if the attributes have been set by reviewing them in the Semantic panel in Rhino.

How can we help?