Outputs are not all updated correctly

Hello,

we have a strange behavior only on ShapeDiver with the model outputs.
In GrassHopper they are all good but when using the same Input data in ShapeDiver we have one output that is acting weirdly.

The output called dimensionsJson never gets updates on the first rendering.
We use it to return all our volumes dimensions.
Whenever we create new volumes in our model they are correctly created and returned in our main geometry/gltf… but they are not taken into account by this output.
If we create sibling volumes or children volumes, then the previously created ones are visible (but not the newly created ones).

Here’s our model
https://www.shapediver.com/app/m/pr-02-vp-20240925-var148-sd-upload-8/

Here’s an example of a JSON we use in our input.

{"general":{"Generate 2D drawings":false},"plinthAttributes":{"PlinthType":1,"PlinthHeight":0,"PlinthOffset":0,"PlinthExistence":false,"PlinthThickness":0},"volumeAttributes":{"level_0":{"level_1":{"ID_0":{"do_ex":false,"do_hS":false,"do_pT":true,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":7,"div_ex":true,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"2","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":0,"level_2":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":"0","do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"ID_0":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":0},"ID_1":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":1},"ID_2":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":2},"ID_3":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":3},"ID_4":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":4},"ID_5":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":5},"ID_6":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":6}}},"ID_1":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":false,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"4","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":1},"ID_2":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":2,"div_ex":true,"div_ori":false,"div_dT":false,"div_dV":"","div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":2},"ID_3":{"do_ex":false,"do_hS":false,"do_pT":false,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":false,"div_am":0,"div_ex":false,"div_ori":true,"div_dT":false,"div_dV":false,"div_rV":50,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false,"id":3}},"do_ex":false,"do_hS":false,"do_pT":true,"do_spl":false,"do_sA":2,"do_T":0,"dw_ex":false,"dw_pT":true,"div_am":4,"div_ex":true,"div_ori":true,"div_dT":false,"div_dV":false,"div_rV":0,"do_dw_rV":"0","hT":"0","dw_md_div_am":1,"dw_md_div_dT":false,"dw_md_div_dV":false}},"carcassAttributes":{"size":{"depth":600,"width":"2000","height":1200},"thickness":{"door":20,"topPanel":"19","backPanel":"19","leftPanel":"19","rightPanel":"19","bottomPanel":"19","interiorVerticalPanel":"19","interiorHorizontalPanel":"19"},"panelPriority":{"backOverpass":false,"sideOverpass":false}},"tablePanelAttributes":{"depth":650,"width":1485,"existence":false,"thickness":50}}

If you then use this JSON (basically creating a new volume), the dimensions output is not updated accordingly. You will only have 2 children instead of 3.

In GH we always have the correct dimensions output returned.

We also tried to clear our model caches but the behavior is the same.

We also tried to force the “order” value of the outputs so the one with the issue would have the highest or the lowest value. By this it would be executed the last but both options had no impact on our problem.

Any feedbacks on that ?

maybe @MajorMeerkatThe3rd ?

From the data you provided, I was not able to retrace the steps leading to an error. Could you please precisely point me to what I should do and look at to see it?

Hello @mathieu1

we found the issue, it was in our input structure.
The structure was not causing issues for all others inputs but it was for the dimensions ones.
Thanks anyways.