Bubble Diagrammer-DynaShape node Engine.Execute producing Empty Lists

Hi all I am using Dynamo version 2.16 in Revit 2023 and DynaShape version 0.8.0 which after lots of attempts seems to be the best ajusted version of DynaShape. I have been using the sample files as provided ny Nguyen Long at this post: Space Planning in Dynamo with DynaSpace - Using Generative Design in Revit - Dynamo BIM, so in theory all provided content is well adjusted in order for the graph to work. My problem is that despite all input in the Engine.Execute node seems to be of correct type, the node keeps producing Empty Lists.


These nodes are not possible to be opened in order to be able to follow up on which step ste mistake could probably be.
Thank you in advance

Try using automatic run mode in Dynamo, without the silent settings.

Thanks a lot for replying. Disconnecting Silent Mode Settings produces ‘null’ results.


I suspect it’s an issue of my version of packages, or Generative Design. Should I upload the graph and the Revit project to be able to narrow down the problem?

@jacob.small I’m uploading it anyways and i’m leaving it up to you if you decide to open it to find out if it’s a graph problem or something else.
ApartmentLayout_2023.rvt (1.8 MB)
DynaSpace-ApartmentLayout.dyn (577.0 KB)

Sincerely thanks again

I thought you said you were using Dynashape 0.8 - the workspace references indicate you’re using 0.6. Is this a disconnect?

Also need the excel file, or for a version of the garph with the data serialized into the .dyn (data.remember node would work there)

Ah - found the remember node and the issue. Gimme a few…

Here’s the fix:

Note that you need to change your base Revit data to be in meters not millimeters for space planning purposes, or report all areas/volumes/dimensions in square millimeters, cubic millimeters and millimeters in the program sheet (the insanity of a 25 meter room becoming 25,000,000 makes me veto that option pretty quickly).

Thanks a lot for the immediate response. I had disconnected the flatten node, because if connected it would report the following issue


Is it just an issue concerning my setup? The only way it doesn’t become null is by inserting the list in its original form.

The issue with the original form is that you are getting a list of engines with only the first being executed, but even if they all were being executed you’d just be exeucting a bunch of engines with only one space in it, so no ‘bouncing’ would be performed.

I’ve seen this before ages ago, but can’t recall the fix or root cause. My guess is that your windows settings for number display is incorrect for Dynashape to work, but I can’t confirm just yet.

Put a watch node after the List.Flatten, right click it, and copy the values to clipboard. Paste them behind a spoiler here and I’ll compare that to what I have on my end to confirm.

It seems quite normal. There are some nulls, but even though I removed them on previous attempts this didn’t solve the issue. Thanks again for the dedication.

Watch Contents
[
  [
    SPACE ID,
    SPACE NAME,
    DEPARTMENT,
    DEPARTMENT ID,
    QUANTITY,
    WIDTH,
    HEIGHT,
    AREA,
    TOTAL AREA,
    PREFERENCE,
    ADJACENT SPACES,
    ADJACENT DEPARTMENTS,
    0,
    Waiting Area,
    PSYCHIATRIC INPATIENT,
    0,
    10,
    null,
    null,
    20,
    200,
    6,
    4,
    1.3,
    1,
    Telephone,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    10,
    10,
    10,
    0,
    null,
    2,
    Vending Machine,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    20,
    20,
    10,
    0,
    null,
    3,
    Toilet,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    60,
    60,
    5,
    0,
    null,
    4,
    Reception,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    40,
    40,
    2,
    0.6,
    null,
    5,
    Lockers,
    PSYCHIATRIC INPATIENT,
    0,
    10,
    null,
    null,
    1,
    1,
    7,
    4,
    null,
    6,
    Entrance,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    100,
    100,
    3,
    4.7.8,
    null,
    7,
    Interview,
    EXAM ROOM ,
    1,
    15,
    null,
    null,
    100,
    1500,
    1,
    6.8,
    0.2.3,
    8,
     Care Team,
    EXAM ROOM ,
    1,
    8,
    null,
    null,
    30,
    240,
    1,
    6.7,
    null,
    9,
    Office,
    PSYCHIATRIC INPATIENT,
    0,
    3,
    null,
    null,
    30,
    90,
    5,
    10.11,
    null,
    10,
    Huddle,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    80,
    80,
    6,
    9.11.12.13,
    null,
    11,
    Staff,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    100,
    100,
    3,
    8.13.11,
    null,
    12,
    Office Private,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    100,
    100,
    7,
    13.11,
    null,
    13,
    Business Centre,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    60,
    60,
    9,
    9.10.11,
    null,
    14,
    RID,
    PSYCHIATRIC INPATIENT,
    0,
    0,
    null,
    null,
    1,
    0,
    0,
    0,
    null,
    15,
    Storage,
    PSYCHIATRIC INPATIENT,
    0,
    15,
    null,
    null,
    10,
    150,
    7,
    8,
    null,
    16,
    Medication,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    120,
    120,
    4,
    8,
    null,
    17,
    Storage1,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    150,
    150,
    8,
    18.1,
    null,
    18,
    Storage2,
    PSYCHIATRIC INPATIENT,
    0,
    2,
    null,
    null,
    20,
    40,
    8,
    17.1,
    null,
    19,
    Equipment,
    PSYCHIATRIC INPATIENT,
    0,
    4,
    null,
    null,
    20,
    80,
    8,
    17.18,
    null,
    20,
    Patient Education,
    KPU PSY INPATIENT,
    2,
    1,
    null,
    null,
    120,
    120,
    2,
    21.8.22,
    0.1,
    21,
    Patient Education,
    KPU PSY INPATIENT,
    2,
    1,
    null,
    null,
    120,
    120,
    2,
    20.8.22,
    null,
    22,
    Observation ,
    WORKSTATION ,
    3,
    1,
    null,
    null,
    30,
    30,
    3,
    20.21,
    0.1.2,
    23,
    Counselling,
    WORKSTATION ,
    3,
    1,
    null,
    null,
    240,
    240,
    4,
    8,
    null,
    24,
    Group Activities,
    WORKSTATION ,
    3,
    1,
    null,
    null,
    320,
    320,
    2,
    25.27,
    null,
    25,
    Exercise,
    WORKSTATION ,
    3,
    1,
    null,
    null,
    150,
    150,
    4,
    24.26,
    null,
    26,
    Equipment,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    60,
    60,
    8,
    28,
    null,
    27,
    Food Service,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    180,
    180,
    3,
    6.24,
    null,
    28,
    Utility1,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    100,
    100,
    6,
    29,
    null,
    29,
    Utility2,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    100,
    100,
    6,
    28,
    null,
    30,
    Laundry,
    PSYCHIATRIC INPATIENT,
    0,
    1,
    null,
    null,
    40,
    40,
    7,
    29,
    null
  ]
]

It worked. It was the digit thing. Incredible insight my man.

Ok - this might give some insight too, as you’re using excel instead of CSV.

Guessing that some of the values have been converted to numbers on your dataset (i.e. 4.9 reads as 4.900000 instead of "4.9") which Excel will do automatically. This is why CSV is the recommended format in the samples.