# Workflow Civil - Revit

**URL:** <https://forum.dynamobim.com/t/workflow-civil-revit/94796>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [October 22, 2023, 1:37pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796 "2023-10-22T13:37:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerhard.p](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gerhard.p/32/147675_2.png) [@gerhard.p](https://forum.dynamobim.com/u/gerhard.p)\
**Post date:** [October 22, 2023, 1:37pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/1 "2023-10-22T13:37:30Z")

</div>

Hello Dynamo Friends 🙂

After building a few scripts for civil and revit I´m asking myself if there is a better way to do what I´m doing. As far as I know it is possible to “connect” civil and revit dynamo if you open both at the same time?!

Here´s what I´m doing now:

In Civil, calculate points on topology where I later want to place families in Revit. Write those points to an excel list.  
In Revit, read the excel file and place families.

I can not use the topology in revit for my point calculations because it is only linked to revit.

I there any way to improve my workflow so i don´t need to write/read to/from excel?

Happy about any advice 🙂 Kind regards!

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 22, 2023, 1:45pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/2 "2023-10-22T13:45:39Z")

</div>

Look into CivilConnection, the Dynamo toolset to tie Civil 3D to Revit and vice versa. This does the ‘live connection’ which you refere to.

You could also write the points out to other intermediate file types (ie: txt, json, PTS, CSV, etc.) instead of Excel (at best a mediocre format for data interoperability).

Another option would be to use the ‘send command’ capability of the AutoCAD COM api to execute a Dynamo for civil graph from Revit, and consume the result in Revit when done. This is quite a big lift though as any COM api is a pain (there is a reason major applications don’t build around that anymore).

And lastly you can use a Data.Remember to serialize the content into the graph itself, and open the same graph in the other flavor of Dynamo (ie: serialize in Dynamo for Civil, save, open in Dynamo for Revit, utilize the data).

---

<div class="post-metadata">

**Author:** ![MartinSpence](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/martinspence/32/25208_2.png) [@MartinSpence](https://forum.dynamobim.com/u/MartinSpence)\
**Post date:** [October 22, 2023, 6:09pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/3 "2023-10-22T18:09:43Z")

</div>

Speckle would also be an option 🙂

([Linky](https://speckle.systems/))

---

<div class="post-metadata">

**Author:** ![gerhard.p](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gerhard.p/32/147675_2.png) [@gerhard.p](https://forum.dynamobim.com/u/gerhard.p)\
**Post date:** [October 24, 2023, 9:37am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/4 "2023-10-24T09:37:38Z")

</div>

Thanks jacob, I´m now experimenting with CivilConnection.

I´m also interrested inj experimenting with data.remember but I have this node only in Revit 2023 but not in Civil 2023?!

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [October 24, 2023, 11:36am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/5 "2023-10-24T11:36:36Z")

</div>

> [@"BriMohareb\_XXXX" Package for RevitXXXX Thread](https://forum.dynamobim.com/t/brimohareb-xxxx-package-for-revitxxxx-thread/84362):
>
> This packedge use Dynamo Revit\_2023 as plateform to integrating Revit\_23, Civil3d\_23 , Autocad, sofistik\_2018, sofistik\_2023 and Add extra geometry nodes to dynamo through API. It help bridge and tunnel engineers to create and Automate automate model and design. Also makes it possible to create complex bridge and tunnel elements by using Adaptive family

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [October 24, 2023, 11:39am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/6 "2023-10-24T11:39:10Z")

</div>

> [@gerhard.p](#):
>
> I can not use the topology in revit for my point calculations because it is only linked to revit.

> [@"BriMohareb\_XXXX" Package for RevitXXXX Thread](https://forum.dynamobim.com/t/brimohareb-xxxx-package-for-revitxxxx-thread/84362/30):
>
> “Topography between C3D and Revit with Dynamo” created by @sovitek . thanks [Søren Villadsen](https://www.youtube.com/@srenvilladsen9294) slight_smile[[Topography between C3D and Revit with Dynamo] ](https://www.youtube.com/watch?v=A8IIeEUCgRM)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 24, 2023, 2:52pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/8 "2023-10-24T14:52:52Z")

</div>

> [@gerhard.p](#):
>
> I´m also interrested inj experimenting with data.remember but I have this node only in Revit 2023 but not in Civil 2023?!

You need to add the path to the system wide Dynamo for Revit packges (which contains the Generative Design package) to you Dynamo for Civil instance.

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [October 25, 2023, 8:13am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/9 "2023-10-25T08:13:40Z")

</div>

@jacob.small thanks for this amazing idea. it work 🙂

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

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 25, 2023, 8:29am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/10 "2023-10-25T08:29:32Z")

</div>

It’s a thing of beauty - I’ve used it to go between Revit, Civil 3D, Alias, FormIt, Robot, AdvanceSteel… basically anything with a formal Dynamo integration. 🙂

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [October 25, 2023, 8:35am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/11 "2023-10-25T08:35:28Z")

</div>

It’s utterly astonishing! This has revolutionized my approach to transferring and transforming geometric data across various software platforms. 🤟 🤟 🤟

@jacob.small Thank you, you’ve brought so much joy to my day!

_ **Brilliant concept,splendid day** _

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [October 25, 2023, 9:16am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/12 "2023-10-25T09:16:33Z")

</div>

amazing node…a game changer 😉 😉 thanks

---

<div class="post-metadata">

**Author:** ![gerhard.p](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gerhard.p/32/147675_2.png) [@gerhard.p](https://forum.dynamobim.com/u/gerhard.p)\
**Post date:** [October 25, 2023, 9:39am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/13 "2023-10-25T09:39:28Z")

</div>

Path to add for me was:

C:\ProgramData\Autodesk\RVT 2023\Dynamo\2.16\packages

Tested it with a large and complex solid, works pretty good with the same result as using .sat or .json files.

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

---

<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:** [October 25, 2023, 9:55am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/14 "2023-10-25T09:55:38Z")

</div>

Do you open the same script in both Civil 3D and Revit or does the node remember between two different scripts? Stupid question but good to know if I need to have two different graph when managing Civil 3D objects and send them to Revit

Regards  
Patrick

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [October 25, 2023, 10:21am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/15 "2023-10-25T10:21:25Z")

</div>

@patrick.ericson it is nice questuion 🤟,  
1- First open dynamo C3d and use the data.remember node to remember dynamo geoementry (come from C3d geomentry object)  
2- open the same dynamo script from dynamo revit (to have the same data.remember node did you ser in dynamo C3d plus) and add import instant geomety node.

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [October 25, 2023, 10:48am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/16 "2023-10-25T10:48:50Z")

</div>

Hi all,

Interesting topic! I’ve used CivilConnection myself in the past but found using a .csv, .pts, .json easier to use and easier to see if the export executed as expected. I have tried Speckle in the past aswel, which worked great! I only used it for data exchange between multiple Revit users though, not between different hosts.

The Data.Remember node seems really nice. @RMohareb (and @jacob.small) you 100% sure that you can’t open another Dynamo file and read the content? If that isn’t the case Speckle might be my preference instead, maybe they have implemented some features, which I thought were essential but missing, since I last checked it out in 2021.

---

<div class="post-metadata">

**Author:** ![gerhard.p](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gerhard.p/32/147675_2.png) [@gerhard.p](https://forum.dynamobim.com/u/gerhard.p)\
**Post date:** [October 25, 2023, 11:17am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/17 "2023-10-25T11:17:31Z")

</div>

The data is stored in the .dyn file.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/1/713b39c1267a552a3508cc53d1e550289b54721c.png)

My test file has 7 megabyte

---

<div class="post-metadata">

**Author:** ![RMohareb](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/rmohareb/32/120534_2.png) [@RMohareb](https://forum.dynamobim.com/u/RMohareb)\
**Post date:** [October 25, 2023, 11:40am UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/18 "2023-10-25T11:40:02Z")

</div>

another test 🤠

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

open the dynamo file from C3D. and at the same time open it from dynamo player in revit. when you save the file in C3d (after get new geomentry from c3d) run dynamo player in revit. You will have the new geomentry in revit. 🤯 🤯 🤯 🤯 🤯

---

<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:** [October 25, 2023, 3:56pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/19 "2023-10-25T15:56:03Z")

</div>

😍

---

<div class="post-metadata">

**Author:** ![JPhil](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@JPhil](https://forum.dynamobim.com/u/JPhil)\
**Post date:** [October 27, 2023, 5:38pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/20 "2023-10-27T17:38:24Z")

</div>

Idea/Test Request:  
Could Data.Remember be used to transfer data between Civil 3D drawings?

Open DWG A and harvest data. Close DWG A. Open DWG B and execute tasks with Data.Remember data from DWG A.

Could Data.Remember be used to transfer data between two open instances of Civil 3D similar to the C3D to Revit via Dynamo Player in the example above?

I’m not a Revit user, so I don’t have the generative design package on my machine, so I’m not able to test this myself.

#Civil3D

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [October 27, 2023, 5:44pm UTC](https://forum.dynamobim.com/t/workflow-civil-revit/94796/21 "2023-10-27T17:44:34Z")

</div>

> [@JPhil](#):
>
> Could Data.Remember be used to transfer data between Civil 3D drawings?

Not directly; Civil and AutoCAD objects cannot be added to the node, but Dynamo Core components can be. So if you have a block instance, you could remember the block name and coordinate system. Then in file 2 you can use the block name to get the block from the new drawing, and the create a new instance from the coordinate system.

> [@JPhil](#):
>
> Could Data.Remember be used to transfer data between two open instances of Civil 3D similar to the C3D to Revit via Dynamo Player in the example above?

In the same way as above, yes I believe so. Both Revit and Civil 3D have a ‘hosted’ Dynamo instance so it would work, but tools which use the COM interop APIs (ie: Robot, FormIt, Navisworks, LinkDWG workflows) wouldn’t know which system to send the data to/from.

[Next page](https://forum.dynamobim.com/t/workflow-civil-revit/94796.md?page=2)
