# Convert a dynamo script to C# plugin

**URL:** <https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732>\
**Category:** Uncategorized\
**Created:** [August 12, 2018, 9:00pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732 "2018-08-12T21:00:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammadadil\_1993](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mohammadadil\_1993](https://forum.dynamobim.com/u/mohammadadil_1993)\
**Post date:** [August 12, 2018, 9:00pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/1 "2018-08-12T21:00:47Z")

</div>

Hi there,  
I’m trying to convert a dynamo script into C# code so that I can use it as a simple plugin rather than open Dynamo every time. I think its a very simple script that just extracts some parameters from the model. I have attached the script

Do i have to learn C# and do it myself or is there any platform or service that can do it for me?

[collect info.dyn](https://forum.dynamobim.com/uploads/short-url/8ErEPfaYA2bXIlC0TmQtkzQc6y0) (16.4 KB)

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

---

<div class="post-metadata">

**Author:** ![alvpickmans](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alvpickmans/32/41236_2.png) [@alvpickmans](https://forum.dynamobim.com/u/alvpickmans)\
**Post date:** [August 12, 2018, 9:30pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/2 "2018-08-12T21:30:00Z")

</div>

Learn c# and do it yourself, unless you hire someone to do it for you I guess!

---

<div class="post-metadata">

**Author:** ![el.kik](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/el.kik/32/71938_2.png) [@el.kik](https://forum.dynamobim.com/u/el.kik)\
**Post date:** [April 17, 2019, 1:53pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/3 "2019-04-17T13:53:07Z")

</div>

I would like to do exactly the same. I am trying to figure out how to jump from xml to C# and apply it in Visual Studio, where only the connectors to the Revit API would be needed and the “translated” code…

---

<div class="post-metadata">

**Author:** ![Brendan\_Cassidy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/brendan_cassidy/32/7685_2.png) [@Brendan\_Cassidy](https://forum.dynamobim.com/u/Brendan_Cassidy)\
**Post date:** [April 17, 2019, 2:31pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/4 "2019-04-17T14:31:10Z")

</div>

You may want to look at utilizing dynamo player as a possible solution

---

<div class="post-metadata">

**Author:** ![el.kik](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/el.kik/32/71938_2.png) [@el.kik](https://forum.dynamobim.com/u/el.kik)\
**Post date:** [April 17, 2019, 3:56pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/5 "2019-04-17T15:56:50Z")

</div>

Alright, i will try it out. I am pretty new in Dynamo so i guess i will need some time… however, i have done object-oriented java and c++ so i guess dyn approach will be smooth!

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [April 17, 2019, 5:10pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/6 "2019-04-17T17:10:27Z")

</div>

Good starter here!

> **[My First Revit Plug-in Overview | Revit Products | Autodesk Knowledge Network](https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/simplecontent/content/my-first-revit-plug-overview.html)**
>
>  My First Revit Plug-in Overview \>\> Lesson 1 \>\> Lesson 2 \>\> Lesson 3\>\> Lesson 4 \>\> Lesson 5 \>\> Lesson 6 \>\> Lesson 7 \>\> Lesson 8 Are you an Autodesk Revit power user with an interest in becoming even more productive? Would you like to automate or...

---

<div class="post-metadata">

**Author:** ![David\_Duarte](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/david_duarte/32/17571_2.png) [@David\_Duarte](https://forum.dynamobim.com/u/David_Duarte)\
**Post date:** [April 17, 2019, 11:45pm UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/7 "2019-04-17T23:45:59Z")

</div>

This is also very helpful!

---

<div class="post-metadata">

**Author:** ![saju\_autodesk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/saju_autodesk/32/61838_2.png) [@saju\_autodesk](https://forum.dynamobim.com/u/saju_autodesk)\
**Post date:** [November 7, 2019, 2:51am UTC](https://forum.dynamobim.com/t/convert-a-dynamo-script-to-c-plugin/24732/8 "2019-11-07T02:51:15Z")

</div>

I feel pyrevit is a good option unless you are a programmer, there are many advantages like no need to launch revit every time you make little changes to your script ect…  
Apart from that python is popular and widely used compared to c#.  
Lastly the tutorials esha is making for his pyrevit is super awesome…!
