Hello,
I am encountering an issue when using Generative Design for a project. I am not able to reveal too much about the project but I have managed to reproduce the issue with a smaller Dynamo script.
The project consists of creating a 5x5 surface on which I draw a grid. From each point on the grid, I cast rays in a given vertical and horizontal angle (120 and 360 degrees respectively). The grid size can be as small as 0.25x0.25 and as big as 2x2; while the number of rays can go from 10 rays in the vertical angle and 30 in the horizontal angle, to 30 and 90 rays respectively in each angle. I am not using any Revit elements and there is a 0.3 offset from the edge of the surface when creating the grid.
For the purpose of this reproducible issue, I am running all possible combinations of grid size and # of rays in generative design and my output is the total number of rays cast. When I run one particular combination of these parameters in Dynamo (0.25 grid; 30x90 rays), I have no issue running the script and obtaining the resulting number of rays (= 780,300). However, in Generative Design, that particular combination of values always results in a * output despite running fine within Dynamo. I have tried running this combination both as the first one and the last one in my Generative Design permutations - with either order, I still get *.
As I mentioned, my actual issue is a bit more specific but still relates to outputs yielding a * for combinations of inputs that are particularly computationally intensive, despite getting results in Dynamo alone. Does GD have some sort of limitations to the number of computations that can be completed per run?
The other posts I have encountered on this forum regarding this issue seem to be solved by using some form of “Remember” node but that seemed to apply to Revit nodes only, and I do not have any.
The Dynamo file can be found below.
Thanks in advance!
dummy1.dyn (97.0 KB)