Using a developer access token for authentication

If you are using Speckle for Grasshopper in a headless Rhino environment such as Rhino Compute, or you want access to a Speckle account via developer access token, you can use the Speckle Model Url node.
Inputs
  1. Add the Speckle Url input to the Speckle Model you want to create a resource for
  2. Add the Speckle Token input string of your developer access token. Tokens can be created in the Speckle app with your desired permissions
Ouputs
  1. The Speckle Model output contains the Model resource of your input url.

Inspecting all attributes on Speckle params

When viewing your model in Speckle’s web app, you can switch to Dev Mode to thoroughly inspect all attributes on your Speckle objects. Some examples of exposed fields in dev mode are:
  • The Speckle id, which uniquely identifies this object in the Speckle server
  • Geometric attributes ex: the knot vector of a nurbs curve
  • Application-specific attributes on Data Objects ex: the category, family, and level of Revit Objects
  • Any children objects in Data Objects ex: the baselines of corridor Civil Objects
  • Any dynamically attached attributes
Use the Deconstruct node to access all fields of your Speckle param in Grasshopper as you would in Dev Mode in your browser.
Inputs
  1. Add a Speckle Param input of any Speckle parameter you would like to inspect.
Outputs
  1. An output will be created for every direct attribute on the input Speckle Param.
This node is intended for attribute inspection on individual objects, or on lists of objects of the same Speckle type. If you would like access to properties across different objects, please request this to be added to our passthrough nodes on our forum.

Synchronous operations

For any scripts operating in contexts which require synchronous solving of nodes, use the Publish (sync) and Load (sync) nodes instead of the default Publish and Load nodes.