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?
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:
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?
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.