Parking Layout Optimization_RVT2021.1

Hi all,

I did some testing with “Parking Layout” in RVT2020 and RVT2021.
Unfortunately, I have to conclude that the scrip runs flawlessly in Revit 2020 but goes wrong in Revit 2021 (see fig. 1 until fig. 5).

Fig. 1 = Downloaded packages for Dynamo version 2.3.0.6270
Fig. 2 = RVT2020.2 ; Dynamo version 2.3.0.6270 ; Dynamo Core 2.3.0.5885
Fig. 3 = Downloaded packages for Dynamo version 2.6.1.8850
Fig. 4 = RVT2021.1 ; Dynamo version 2.6.1.8850 ; Dynamo Core 2.6.1.8786
Fig. 5 = Warning list after running script with Dynamo 2.6.1.8850 (153 issues)

The only difference I can find is the “Refinery” package that I can no longer find for Dynamo 2.6.1.8850.

Anyone an idea how I can fix this?

Thanks in advance.

Fig. 1


Fig. 3

Parking Layout Optimization.dyn (1.6 MB)
Parking Layout Optimization_RVT2021.1.dyn (1.6 MB)

Download link We Transfer: RVT files and Dynamo files.

https://wetransfer.com/downloads/b63670547266bd922a1cec91d618309620200916203335/48ae139dde4052b551ee61e158540e0f20200916203400/c038c4

Working Link: Parking layout org

1 Like

@JacobSmall maybe you can help to speak to the right people about this?

Thanks in advance.

Where is the first node which produces a warning? Likely you need to fix that to resolve the laundry list which follows.

Note that the remember node from Refinery (ie: before Generative Design for Revit) in 2020 needs to be replaced with the version from the Generative Design package.

@JacobSmall in Revit 2020 I have no problems. But I cannot go directly to “Generative Design” via Revit 2020.

Also in the 1ste version of Revit 2021 I had no problems with the script.
In Revit version 2021.1 I have problems. In wich case you receive a notification as in fig. 1 .
In fig. 2 you see the first warning, I also added the entire list with warning see txt file “201017_Boonen Jan_Geonius_DYN_Warnings Parking Layout”

Can you help me with this?
Thanks in advance.

201017_Boonen Jan_Geonius_DYN_Warnings Parking Layout_txt.txt (9.1 KB)

@JacobSmall

Package “Generative Design” is nog longer available (see also fig. 3).

Can you preview the inputs for the input for the get item at index node which gives the error?

Generative Design nodes showing warnings will need to be replaced by the newer equivalent in the new Generative Design package which can only be accessed by installing Generative Design for Revit.

@JacobSmall

What do you mean with “Generative Design package which can only be accessed by installing Generative Design for Revit.” ? Because I already have Generative Design of Revit available in RVT 2021 (see fig. 1)

The dependency manager is indicating you have a different version of the package in question. My intent was to point this out - swap the nodes on canvas that are in the older package for the nodes in the newer version, and copy the GD package folder from 2021 to 2020.

1 Like

@JacobSmall

I notice the following differences between the use of the script in RVT2020.2 and RVT 2021.1 (see fig. 1) .

@Paolo_Emilio_Serra1 maybe you know if it could be due to the difference in Refinery or GenerativeDesign packages?


Fig. 1


Fig. 2


Fig. 3


Fig. 4


Fig. 5

Thanks in advance!

@Paolo_Emilio_Serra1 @JacobSmall @Dieter_Vermeulen

see dataset
https://we.tl/t-glASq0VMEJ

@GavinCrump maybe you have an idea as a Generative Design specialist?

1 Like

As discussed, Jacob’s advice was sound - replace all deprecated refinery nodes with their GD equivalent. From there, follow any remaining warnings to the outputs.

When moving between Revit builds it’s rare scripts remain 100% functional in my experience. A lot changes between them!

@GavinCrump

Thanks for the reply.
Are there tools within Dynamo to quickly find specific nodes (example search for “Remember Node” in the script" ?

Simple search in Monocle is great for this if you have the equivalent package installed.

1 Like

@GavinCrump @JacobSmall thanks for the tip.

In the meantime I have changed the “Remember node” in the script (see also fig. 1) .
Unfortunately without success.
In attachement you can find the list of warnings before (201025_Boonen Jan_Geonius_RVT_Warning-list-before-replace-remember-node) and after (201025_Boonen Jan_Geonius_RVT_Warning-list-after-replace-remember-node) , as well as the script.

Fig. 1
Fig. 1

201025_Boonen Jan_Geonius_RVT_Warning-list-before-replace-remember-node.xlsx (15.7 KB)
XLS warnings before (201025_Boonen Jan_Geonius_RVT_Warning-list-before-replace-remember-node)

201025_Boonen Jan_Geonius_RVT_Warning-list-after-replace-remember-node.xlsx (15.7 KB)
XLS warnings after (201025_Boonen Jan_Geonius_RVT_Warning-list-after-replace-remember-node)

Parking Layout Optimization_RVT2021_v3.dyn (1.6 MB)
Dynamo script

To make the warningslist I uses “Warnamo” from @keanw

Thanks in advance.

What is the first warning in the sequence.

Expand the preview of it’s and the node(s) immediately before it, and post an image showing that info to the forum.

2 Likes

@JacobSmall

First warning (List.GetItemAtIndex) = Fig. 1
See also input 1 (red indicator)


Fig.1

See also input 2 (red indicator)


Fig. 2

I think the problem comes from the output from indicator 3 (see fig. 3)


Fig. 3

This while the inputs of this node are the same as in the script in RVT2020 (see fig. 4).


Fig. 4

Could it be the “Renamed” node see also fig. 4?

Thanks in advance!

Indeed great tool @GavinCrump