# Issues passing solid geometry between Dynamo and C3D document

**URL:** <https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199>\
**Category:** Civil 3D\
**Created:** [May 4, 2020, 2:39pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199 "2020-05-04T14:39:11Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![elliotgr2010](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@elliotgr2010](https://forum.dynamobim.com/u/elliotgr2010)\
**Post date:** [May 4, 2020, 2:39pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/1 "2020-05-04T14:39:11Z")

</div>

The object.ByGeometry node was working as expected but recently started returning null for solids when trying to pass them back into ACAD. This happens no matter how the solids were created (the solids were visible within Dynamo).

I then uninstalled C3D and Dynamo as suggested in this thread [Object.ByGeometry returns null](https://forum.dynamobim.com/t/object-bygeometry-returns-null/49037/15) which did not resolve the issue.

I have also noticed that the Object.Geometry node returns the error “Warning: Object.get\_Geometry operation failed.  
The file exists.” when attempting to create dynamo geometry from acad solids. The node works perfectly fine for other, 2D geometry.

The issue appears to resolve when running C3D as another user (admin) but is still present using a normal user account.

I’m really baffled by this one !

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/270ab3026bd6f7728f7cc3aecdfa36f12eaed8dd.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [May 4, 2020, 2:47pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/2 "2020-05-04T14:47:11Z")

</div>

Hi @elliotgr2010

Could you drop here dwg file?

---

<div class="post-metadata">

**Author:** ![elliotgr2010](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@elliotgr2010](https://forum.dynamobim.com/u/elliotgr2010)\
**Post date:** [May 4, 2020, 2:51pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/3 "2020-05-04T14:51:07Z")

</div>

Sure - This happens with every dwg no matter how complex or simple the solids. I’ve attached an example with a single basic solid.

[SolidIssue.dwg](https://forum.dynamobim.com/uploads/short-url/muQgL77DxiJLH9KF0qwObWK7WJh.dwg) (1.7 MB)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [May 4, 2020, 3:10pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/4 "2020-05-04T15:10:51Z")

</div>

Looks good to me:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/e/fea891afa96465312aa8dbbb19e1f93750b2104d.png)

What’s the geometry working range you’re using inside dynamo?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/9/6949bb7ecc66fb96873053be1f971fbfe356918b.png)

---

<div class="post-metadata">

**Author:** ![elliotgr2010](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@elliotgr2010](https://forum.dynamobim.com/u/elliotgr2010)\
**Post date:** [May 4, 2020, 3:47pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/5 "2020-05-04T15:47:16Z")

</div>

Thanks for your PM ! Unfortunately it wasn’t a geometry scaling issue either

---

<div class="post-metadata">

**Author:** ![elliotgr2010](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@elliotgr2010](https://forum.dynamobim.com/u/elliotgr2010)\
**Post date:** [May 5, 2020, 8:27am UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/6 "2020-05-05T08:27:30Z")

</div>

To elaborate on my original post the issue occurs when creating Dynamo solids from ACAD solids and when creating ACAD solids from Dynamo solids. The Issue is only occurring with 3D solids - all other geometry is fine.

This is occurring with every .DWG and even the most simple solids (as demonstrated in the images below) across a range of different coordinates so is not a Geometry scaling issue.

I should also add that solids passed between Dynamo and ACAD without any issues up until a couple of days ago.

The issues only seem to occur when running on my normal user account. If I run C3D as another user (an administrator in this case) - there are no issues at all.

Steps I have tried so far:

-Uninstalling C3D and deleting the folders from my C;/Users/User/AppData folders and reinstalling C3D  
-Uninstalling Dynamo and reinstalling dynamo  
-Updating C3D to 2020.3

None of the above steps have solved my issue.

See below for an example of the issues i am experiencing

Attempting to create Dynamo solids from ACAD solids (in this case a simple cube  
)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/6/5642e35295f9398b252fb033bf4b7b032222e798.png)

Attempting to create ACAD solids from Dynamo solids - Returns null when using Object.ByGeometry

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/4/a494dc942a05ea9615d5f01b3aeba8888f53a5f2.png)

Any ideas with this one would be greatly appreciated as it is a bit of a show stopper for me !

---

<div class="post-metadata">

**Author:** ![Alex.ColeAAFHE](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@Alex.ColeAAFHE](https://forum.dynamobim.com/u/Alex.ColeAAFHE)\
**Post date:** [May 5, 2020, 4:23pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/7 "2020-05-05T16:23:30Z")

</div>

how big are the coordinates you are working with? I have found translating objects closer to 0,0 (x, y) origin helps with creating AutoCAD solids from abstract Dynamo geometry. In AutoCAD I typically move everything using a .scr file similar to below.

-layer  
U  
\*

\_ai\_selall  
move  
D  
-1,-1,0

---

<div class="post-metadata">

**Author:** ![elliotgr2010](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@elliotgr2010](https://forum.dynamobim.com/u/elliotgr2010)\
**Post date:** [May 6, 2020, 3:46pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/8 "2020-05-06T15:46:56Z")

</div>

I eventually managed to resolve this with some help from @Kulkul and removing my networked account locally from my PC.

---

<div class="post-metadata">

**Author:** ![edward.winter](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@edward.winter](https://forum.dynamobim.com/u/edward.winter)\
**Post date:** [October 10, 2020, 6:02pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/9 "2020-10-10T18:02:00Z")

</div>

Can you elaborate the possible cause and solution here? I have the same problem here.

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [October 10, 2020, 6:53pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/10 "2020-10-10T18:53:53Z")

</div>

@edward.winter try cleaning out your %temp% folder. Does that fix it?

---

<div class="post-metadata">

**Author:** ![e.winter](https://avatars.discourse-cdn.com/v4/letter/e/d26b3c/32.png) [@e.winter](https://forum.dynamobim.com/u/e.winter)\
**Post date:** [October 10, 2020, 8:40pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/11 "2020-10-10T20:40:06Z")

</div>

I will try that tomorrow morning. Thx.

---

<div class="post-metadata">

**Author:** ![e.winter](https://avatars.discourse-cdn.com/v4/letter/e/d26b3c/32.png) [@e.winter](https://forum.dynamobim.com/u/e.winter)\
**Post date:** [October 11, 2020, 12:28pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/12 "2020-10-11T12:28:39Z")

</div>

Cleaning the %temp% folder did the job.  
It also solved the strange behavior of not converting a 3D Polyline to a PolyCurve.  
Many thanks!

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [June 15, 2022, 7:40pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/13 "2022-06-15T19:40:45Z")

</div>

Thanks @zachri.jensen  
Once again you saved the day. Hope we meet at AU this year!!

---

<div class="post-metadata">

**Author:** ![kasra\_valadi](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@kasra\_valadi](https://forum.dynamobim.com/u/kasra_valadi)\
**Post date:** [March 1, 2024, 11:27am UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/14 "2024-03-01T11:27:36Z")

</div>

Hello @zachri.jensen,  
I also had the same problem. And this worked for me at first after I cleaned the temp folder. At first it was working fine until Dynamo became very slow in one script and I had to close the program after half an hour via task manager. And when I restarted dynamo, I got this problem again that Object.ByGeomtry returns null. I tried to clean out the temp folder again, but this time it doesn’t fix the issue. I would be ver grateful of your help! Many thanks.

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [March 1, 2024, 12:09pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/15 "2024-03-01T12:09:23Z")

</div>

Can you start a new topic and we can try to help you?  
Please add some info about your graph, add some screenshots and example files  
KR,  
Patrick

---

<div class="post-metadata">

**Author:** ![kasra\_valadi](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@kasra\_valadi](https://forum.dynamobim.com/u/kasra_valadi)\
**Post date:** [March 1, 2024, 2:41pm UTC](https://forum.dynamobim.com/t/issues-passing-solid-geometry-between-dynamo-and-c3d-document/50199/16 "2024-03-01T14:41:40Z")

</div>

Hello Patrick,  
many thanks for your recommendation. I just posted a new topic now:

> [@Object.ByGeometry returns null for any scripts on Civil 3D](https://forum.dynamobim.com/t/object-bygeometry-returns-null-for-any-scripts-on-civil-3d/98659):
>
> Hello everyone, I’m working on some Dynamo scripts that ultimately aim to create 3D objects in a DWG file in Civil 3D. At first, the script was working properly until a slight change, for example in the rotation of the objects, slowed down the software processing, and after half an hour I had to close the software using the task manager. When I opened the software again and tried to run the script again with the settings that were executed correctly, this time Object.ByGeometry returned null. T…
