# Error when running a script in Civil 3D

**URL:** <https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682>\
**Category:** Civil 3D\
**Created:** [February 12, 2020, 11:35am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682 "2020-02-12T11:35:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![albano.haruni](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@albano.haruni](https://forum.dynamobim.com/u/albano.haruni)\
**Post date:** [February 12, 2020, 11:35am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/1 "2020-02-12T11:35:10Z")

</div>

Hello,

I just wanted to get started with Dynamo for Civil 3D and everything I make or even the sample scrypts do not run. I get an error, please see attached picture.

Does anybody have an idea what it could be?

Dynamo for Civil is up to date and I even tried reistallation.  
Dynamo for Revit works properly.

![Dynamo-for-civil-Error](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/418767e4c38f1fac58f2690145b7b7a3b4c53066.png)

---

<div class="post-metadata">

**Author:** ![chaoyu.kong](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@chaoyu.kong](https://forum.dynamobim.com/u/chaoyu.kong)\
**Post date:** [February 13, 2020, 7:17am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/2 "2020-02-13T07:17:37Z")

</div>

Sorry for the issue. We haven’t yet reproduced it so Would you please attach the version of Civil 3D and Dynamo? Thanks for your more information.

Control Panel - Uninstall a program - search ‘civil’

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

1. How about run command “AeccLaunchDynamo” in command line? Same error?

2. Can you launch Dynamo Player beside Dynamo?

Thanks.  
-Chaoyu

---

<div class="post-metadata">

**Author:** ![albano.haruni](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@albano.haruni](https://forum.dynamobim.com/u/albano.haruni)\
**Post date:** [February 13, 2020, 9:26am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/3 "2020-02-13T09:26:22Z")

</div>

Hello Chaoyu,

thank you very much for your response!

Dynamo Core 2.4.1.6326  
Dynamo Civil 3D 2.4.1.1417

13.2.1758.0 Civil 3D 2020.2 Update

 ![Control Panel](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/d/6ddead0448edef9c83b7e248a7e3cb5c4dc3c329.png)

In Manage next to Dynamo I have “Run Script” - not dynamo player like in Revit. If I hit that and select the scrypt, no extra window will open but it says scrypt is running successfully. No warning or fatal error. I used one sample scrypt (Civil3D\_SplitCorridorSolid) and it did not work, but I got no warning. Maybe it did not work because I need to work on the scrypt and change more then just the name of the corridor. A very simple Scrypt I created - Line by coordinates, worked fine. Could also save the file, without fatal error (which was the case before).

I can launch Dynamo with that command. Launching was never an issue. I can work on dynamo but when I hit run I get the warning I showed in my first post.

Please let me know if you need additional informations.

Thank you!

---

<div class="post-metadata">

**Author:** ![chaoyu.kong](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@chaoyu.kong](https://forum.dynamobim.com/u/chaoyu.kong)\
**Post date:** [February 14, 2020, 8:49am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/4 "2020-02-14T08:49:02Z")

</div>

Hi 🙂  
Dynamo has been released with version update 2. Would you please have a try to install the update from Autodesk Desktop App and check if it will work fine? (Dynamo Player will be shown :D)

 ![Screen Shot 2020-02-14 at 4.07.58 PM](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/9/0917d6e70a147d89d7ff7b7e2f5556dd79b655ab.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![albano.haruni](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@albano.haruni](https://forum.dynamobim.com/u/albano.haruni)\
**Post date:** [February 14, 2020, 10:51am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/5 "2020-02-14T10:51:18Z")

</div>

Hello Chaoyu,

I updated to version 2 but the error appears unfortunately again.

Dynamo Player is shown, you are right.

Any other idea, what the issue can be?

Thank you!

---

<div class="post-metadata">

**Author:** ![chaoyu.kong](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@chaoyu.kong](https://forum.dynamobim.com/u/chaoyu.kong)\
**Post date:** [February 17, 2020, 11:09am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/6 "2020-02-17T11:09:04Z")

</div>

🤔 We have tried and hard to reproduce it.

1. Would you please help to paste all the Detailed error info in the error box, I mean scroll down and copy all the error text.
2. Can you get the script run result if you click “Continue” button?

Thanks.

---

<div class="post-metadata">

**Author:** ![albano.haruni](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@albano.haruni](https://forum.dynamobim.com/u/albano.haruni)\
**Post date:** [February 17, 2020, 12:43pm UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/7 "2020-02-17T12:43:43Z")

</div>

Sorry to hear about that!

Here you can find a Text file with the error. As a new member I cannot upload pdf or txt:

> **[Dynamo\_Error.txt](https://www.dropbox.com/s/yuwahwdtf8oidvv/Dynamo_Error.txt?dl=0)**
>
> Shared with Dropbox

If I Click continue, there is no shut down or fatal error, but the scrypt does not run (no results).

Thanks

---

<div class="post-metadata">

**Author:** ![liuty](https://avatars.discourse-cdn.com/v4/letter/l/838e76/32.png) [@liuty](https://forum.dynamobim.com/u/liuty)\
**Post date:** [March 23, 2020, 6:39am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/8 "2020-03-23T06:39:50Z")

</div>

Could you send CER report to Autodesk please and share us the report id? thus we can invite software engineer to take deeper diagnosis 🙂

---

<div class="post-metadata">

**Author:** ![Nora.Li](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nora.li/32/88277_2.png) [@Nora.Li](https://forum.dynamobim.com/u/Nora.Li)\
**Post date:** [April 2, 2020, 6:10am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/9 "2020-04-02T06:10:18Z")

</div>

Hi Albano,  
Would you help to check if you have Assemble.Publisher.AutoCAD installed on your machine? If so, could you change the bundle folder name and restart C3D to try again? You may find the bundle as: “C:\ProgramData\Autodesk\ApplicationPlugins\Assemble AutoCAD 2016 to 2020 Plugin.bundle”.

We are still working to dig the root cause. Hope this can help you to workaround it in temporally.

---

<div class="post-metadata">

**Author:** ![albano.haruni](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@albano.haruni](https://forum.dynamobim.com/u/albano.haruni)\
**Post date:** [April 2, 2020, 11:03am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/10 "2020-04-02T11:03:28Z")

</div>

Thank you Nora! You are right, that did solve my problem.

---

<div class="post-metadata">

**Author:** ![Nora.Li](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nora.li/32/88277_2.png) [@Nora.Li](https://forum.dynamobim.com/u/Nora.Li)\
**Post date:** [April 3, 2020, 2:54am UTC](https://forum.dynamobim.com/t/error-when-running-a-script-in-civil-3d/46682/11 "2020-04-03T02:54:42Z")

</div>

cool. Glad to hear that.
