Accessing Geometry through Dynamo - Dictionary

Hi all,
Trying to access some geometry on a speckle stream sent from Rhino.
I cant seem to access the meshes buried deep in this dictionary.

Any help appreciated

Stream : Speckle

[
  {
    name: Rhino Model,
    collectionType: rhino model,
    [
      {
        visible: true,
        {
          name: null,
          color: -16777216,
          linetype: Continuous,
          lineweight: 0,
          units: mm
        },
        name: XREF_Massing,
        collectionType: layer,
        [
          {
            visible: true,
            {
              name: null,
              color: -16777216,
              linetype: Continuous,
              lineweight: 0,
              units: mm
            },
            name: Facade _gh,
            collectionType: layer,
            [
              {
                visible: true,
                {
                  name: null,
                  color: -16777216,
                  linetype: Continuous,
                  lineweight: 0,
                  units: mm
                },
                name: Tower 02 - Shading Screen,
                collectionType: layer,
                [
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh,
                  Mesh
                ]
              }
            ]
          }
        ]
      }
    ]
  }
]

Hey @Ami_Nigam ,

In order to access the geometry inside Dynamo, you need to follow the path of the meshes from Speckle. You can either use Speckle’s web application or Dynamo to investigate. In your case, meshes are stored in 3 level nested layers.

opera_T6vX48mqqh

When received in Dynamo, Speckle data is converted into dictionaries. They behave like any other dictionary. You can access the values using key-value notation. Either use Dictionary.ValueAtKey node or use Code Block.

1 Like

thanks @gokermu
much appreciated

1 Like