SpeckleRhino
SpeckleRhino copied to clipboard
ApplicationID component
Step 0:
- [x] I've read the contribution guidelines!
Expected Behaviour
When buildings a Speckle (1.0) model in Grasshopper, we often need to extract the ApplicationID of a Speckle Object to insert into a referencing object. We know this is solved in 2.0 with the decomposition, so we where looking for a quick way to get the applicationID from an object.
We considered:
Expand Speckle Object: this has two problems:
- it is huge. It adds a lot of clutter to the GH canvas
- The order of keys is not guaranteed. Sometimes a file is re-openned and a pipe is no longer connected to the ApplicationID component, but to some other random key.
Query Speckle Object: this can (currently) only access keys in the objects properties
key.
Proposed Solution
An applicationID component that accepts a SpeckleObject and returns it's ApplicationID.
This is very simple, but since the applicationIDs are used extensively in building SpeckleStructural models, this shortcut will be a signficant boost to adoption.
Our current prototype is here: https://github.com/arup-group/SpeckleRhino/tree/appIdComponent
Affected Projects
This is a grasshopper-specific intervention.