Skip to main content
receive_version() / ReceiveVersion() returns the version that triggered the run as a Base tree. Your function walks that tree, picks the objects it cares about, and reports on them. This page shows the shape of the tree and the patterns that work on it.
Versions published before 2026.9 come back in the shape they were published in, unless the server has converted them: often the same Collection and DataObject tree with content-hash ids, and in older versions typed objects such as Objects.BuiltElements.Wall. For that object graph, see Data Schema. The patterns below work on both.

What your function receives

For a version published in 2026.9, the tree is a projection of the version’s bundle:
  • A Collection root. Its elements hold nested Collections (layers, categories, or levels, depending on the source application) and the model’s objects.
  • DataObjects. Each object has a name, its geometry in displayValue, and its attributes in properties: a nested dictionary with the type’s properties and the instance’s on top. They all share one speckle_type, Objects.Data.DataObject, so filter on properties, not on the type.
  • id equals applicationId. Treat id as an opaque key. See Attach results to 2026.9 models.
  • Shared resources as proxies on the root. Materials sit in renderMaterialProxies and instance definitions in instanceDefinitionProxies; placed instances are InstanceProxy objects.
The tree carries objects, geometry, and properties. It does not carry the relations of the object model, such as an object’s level, host, or system. Objects without display geometry can also be missing from it.
For relations, or for large models, load the version as a Model with operations.receive3 / Receive3, passing the run’s project, model, and version IDs from automation_run_data. See Migrate to 2026.9 (Python) or Migrate to 2026.9 (.NET).

Walk the tree

Most functions start by flattening the tree into one list. Walk elements from the root: that reaches every collection and object without descending into geometry or proxies.
flatten.py
Flatten.cs

Filter by property

To find the objects a rule applies to, keep the DataObjects and test their properties. Property names and values come from the source application: check a version in the web app to see what yours carries.
filter.py
Filter.cs
A dotted property path such as Constraints.Base Offset is a nested dictionary in the tree: properties["Constraints"]["Base Offset"].
property_path.py

Group by collection

The collections in the tree are the model’s own grouping: Rhino layers, Revit categories or levels, Blender collections. To report per group, walk the tree and carry the collection each object sits in.
group.py
Rules about how objects relate, such as “every floor has a level” or “every door has a host”, need the relations a Model carries. Load the version with receive3 / Receive3 for those.

Report findings, do not edit the model

Record what your function finds as results on the objects it concerns: see Annotating Function Results. Results show in the Dashboards Automate results widget and leave the model untouched. To publish derived data, build a new version in a different model: see Function Artefacts. Don’t change the received tree and send it back. For a 2026.9 version, that tree is a compatibility view of the bundle, not the published data.
Last modified on November 14, 2026