Extracting speckle objects into Dynamo

Hey Guys,

I’m Donny and i’m trying to get objects from a model into Dynamo but it doesn’t seem to work quite as i expected. The script gives the stream to the receive node and the receive node retrieves the elements. I do get the info about the stream but i don’t get any data. I fail to see what i’m doing wrong here. Could somebody please help me out?


Hey Donny,

There’s a bug in dynamo’s watch nodes and the preview sometimes doesn’t work, but the data is there. You can use a combination of Dictionary.Keys nodes to get to the props/elements that you want:

Hey teocomi,

I see now that i got some data indeed but i don’t quite get how to get the geometry from here. It seems like it’s suppose to retrieve it as a mesh but that doesn’t seem to work for me. Is that part of the bug as well?

Hey @DonnyRH,

Can you share your Project URL with us so we can have a look? Make sure is set to link shareable. Thank you :slight_smile:

Also, can you let us know what application did you use to create the project before sending to Speckle?

Hey Nikos,

The link i used is the one below:
https://app.speckle.systems/projects/2588221dda/models/1f0c2fc955
the data is generated in Archicad but i seem to have the same problems with data generated in Revit (see link below):
https://app.speckle.systems/projects/6a87e55c77/models/a3afd6ef9b

Hey @DonnyRH,

So if its a Revit, you can access the data like this. You just need to specify the Key value that you are interested to fetch the data. The Speckle Object is a big nested JSON, you can even use a python script to quickly retrieve the data that you need.

→ For the ArchiCAD model that you shared, is a bit tricky, if you are using the 2.20.4 connector version. The dictionaries have some Arrays(Lists) in there - so is not so straight forward. If you have multiple objects you will need to adjust the script accordingly.

You can import both models from Revit and ArchiCAD at the same time like you see below.

Attached you will find the script sample. I hope this is helpful.

Let me know if you have any further questions.

Cheers
Speckle Workflow - Archicad and Revit in Dynamo.dyn (29.7 KB)

Thank you very much!! This indeed work. Cheers