SpeckleRhino icon indicating copy to clipboard operation
SpeckleRhino copied to clipboard

Changes to the GH components to merge upstream

Open daviddekoning opened this issue 3 years ago • 0 comments

Step 0:

In our fork of this repo, we have made some recent changes that might be of benefit to others if merged back into this code base. I am openning this issue to list out the changes to see if there is any interest in an upstream merge. We can then open individual issues as required for items that are selected for inclusion.

These changes are incorporated into the main branch of our fork: https://github.com/arup-group/SpeckleRhino.

Query Speckle Object

  • we have hidden the existing Querry Speckle Object component, and created a new one with slightly different behaviour. Old scripts will continue to use the old component without breaking.
  • the new component accesses both top-level parameters and parameters in Properties. e.g. ApplicationId, Properties.parameters.Description, or Properites.structural.propertyRef
  • we fixed the spelling ;)
  • the component accepts a list of SpeckleObjects and parameters and outputs the corresponding values from each input object.

SchemaBuilder Component

  • any input whose name ends in Ref can now receive SpeckleObjects directly. The component will extract the ApplicationID of the connected object

Sender

  • There is now a projectID input parameter directly on the sender. Connecting a project will add the stream to that project. If no project is connected, nothing happens.
  • This replaces the "Add Stream to Project" component

daviddekoning avatar Oct 17 '20 14:10 daviddekoning