Learn how to create and manage function artefacts in Speckle Automate
Method | Description |
---|---|
create_new_version_in_project(...) | Create a model version in a specific project |
store_file_result(...) | Save a file or blob as an artifact |
Need | Use Model Version | Use File Artifact | Use Object Annotation |
---|---|---|---|
Data should remain interactive in Speckle | ✅ | ❌ | ❌ |
Output should be a structured model | ✅ | ❌ | ❌ |
Output should be a downloadable file | ❌ | ✅ | ❌ |
External software compatibility needed | ❌ | ✅ | ❌ |
Output is a visualization, report, or dataset | ❌ | ✅ | ❌ |
Annotate specific model objects | ❌ | ❌ | ✅ |
SetContextView
method populates the context view with the newly created model, allowing users to visualize the generated data directly within Speckle. The example shows how the AutomateContext SDK contains all the necessary methods to interact with Speckle data and manage automation results effectively. The combination of the context object with the Speckle Sharp SDK (and specklepy) allows for endless possibilities for the interaction of model data and the data hub itself.