The Select Objects node returns Null Geometry when running Dynamo with a selected Case Study

I am currently using Dynamo Generative Design with Civil 3D.

At the moment, the Dynamo program I created runs successfully, and I am also able to generate Case Studies successfully in Generative Design.
After selecting the desired Case Study, I launch Dynamo again to use the inputs from that case to generate a model in Civil 3D.

However, I am facing an issue: although the Case Study runs successfully and all geometries are displayed as expected, when I select a Case Study and run Dynamo, the data from nodes where I use Select Objects to directly select solids in Civil 3D cannot be read.
The Select Objects node still displays the Object ID, but the Object.Geometry and Remember nodes return Null.

I apologize for not being able to share my working files due to confidentiality reasons.
Instead, I am providing a reference document that includes the node I am using.
The attached image is for illustration purposes.

If you have any experience with this issue, I would greatly appreciate your insight into the possible cause.

Thank you very much.
Mesh_2ptDistance.dyn (3.4 MB)
Test.dwg (1.8 MB)

Hi @Minami!

Attached file runs ok
Have you tested on several files (case study)? If so, is this one case study the only one that fails to retrieve the geometry? Maybe there is an issue with that C3D file (or some block).
Try to AUDIT and PURGE.

1 Like

Hi JaLo

Thank you for spending time.

After deleting the previously created solid in Civil 3D and creating a new solid, while keeping the Dynamo program unchanged, I was able to run it without any issues.

I still do not fully understand why the original solid in Civil 3D had a problem, but for now, the program is working properly.

Thank you very much.

1 Like