# Add reference for ZeroTouchNode

**URL:** <https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436>\
**Category:** Packages\
**Created:** [May 29, 2024, 8:19pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436 "2024-05-29T20:19:36Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 29, 2024, 8:19pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/1 "2024-05-29T20:19:36Z")

</div>

Hello,

how to add a reference ?

in that case Autodesk ?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f7d3f0021bf0ad4b83a3d61aa0f786d826e3fb46.png)  
(for building ZeroTouchNode)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/b/cbf42c61b913a1e93f31155ebe4a1bbc3a4e04d6.png)

in tutorials it is already preset - how can i create my frame?

chatGPT i have to referer to .dll files they are not there

---

<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:** [May 29, 2024, 9:12pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/2 "2024-05-29T21:12:07Z")

</div>

> [@Draxl\_Andreas](#):
>
> chatGPT i have to referer to .dll files they are not there

Chat GPT is t going to help here. Set it aside for a week and leverage google instead to find good repositories and tutorials. Skip nothing when you get one.

This is my preferred ‘getting started’ resource. It covers setting up the project and all the rest of the initial configurations for Dynamo and Dynamo for Revit versions from 2.0 to 2.19. I haven’t tried 3.0 yet.

> **[Dynamo Unchained 1: Learn how to develop Zero Touch Nodes in C#](https://teocomi.com/dynamo-unchained-1-learn-how-to-develop-zero-touch-nodes-in-csharp/)**
>
> This post contains the handout of the lab I gave on Zero Touch Nodes in C# at the Dynamo User Group Computational Design Workshop in Sydney on the 2nd of Dec...

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 30, 2024, 1:27pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/3 "2024-05-30T13:27:44Z")

</div>

@jacob.small ,

Using Autodesk is not anymore a error…

but the simplest geometry, point is not recognized ;(

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

is here a package (reference)still missing?

---

<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:** [May 30, 2024, 2:17pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/4 "2024-05-30T14:17:20Z")

</div>

I need to see a full code sample including your using statements, and your project references, and the error message in VisualStudio. Otherwise we’re just guessing, and my gut tells me that your flux capacitor setting is incorrect. That or namespace collision.

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 30, 2024, 2:55pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/5 "2024-05-30T14:55:33Z")

</div>

@jacob.small ,

```auto
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Drawing;
using System.Net;
using System.Security.Cryptography;
using Autodesk.DesignScript.Runtime;
using Autodesk.DesignScript.Geometry;

namespace MyDraxl
{
    public class Basics
    {

        public static Point DpointNode(Double x = 0, Double y = 1, Double z = 1)
        {
            Point DPoint;
            DPoint = Point.ByCoordinates(x, y, z);
            return DPoint;
        }
        
    }
}

```

here are Built structure

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

i follow this

[![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/2/62def1d33a93c7b84985b37381496c7344ad1e93.jpeg "Intro to Zero Touch 101(creating a custom node that creates a dynamo point)") ](https://www.youtube.com/watch?v=DtpQBfIyCsk&t=186s)

---

<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:** [May 30, 2024, 2:57pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/6 "2024-05-30T14:57:10Z")

</div>

> [@jacob.small](#):
>
> the error message in VisualStudio

What does the error message say in your IDE?

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 30, 2024, 3:01pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/7 "2024-05-30T15:01:36Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e33e89ab1e501b7fd6f56889ab16b4455ee8a6d.png)  
@jacob.small

---

<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:** [May 30, 2024, 3:06pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/8 "2024-05-30T15:06:09Z")

</div>

Error message is pretty clear - you’re using System.Drawing and Dynamo Geometry you’ve got two things called ‘point’. As a result it doesn’t know if you want to use System.Drawing to make the point or Dynamo Geometry to make the point.

To get the point across (pun!) you will need to call out your namespace.

Assuming you’re attempting to build a zero touch node, I’d make life easier still and remove System.Drawing from the using statements.

If you were planning on using those for something, consider calling them in a separate class (new .cs file) that gets called by the Dynamo node. That has a big advantage as you can call the same class in other tools too, so your Dynamo tool can more readily port to a Revit add-in as one example.

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 30, 2024, 3:14pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/9 "2024-05-30T15:14:18Z")

</div>

@jacob.small

i understand so System.Drawing and Dynamo… Modules have same name spaces!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/f/6f4b090f150fe112c60bff60a673d56a6e8b5532.jpeg)

well it works, i load direktly .dll

next step is .json

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 30, 2024, 4:51pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/10 "2024-05-30T16:51:11Z")

</div>

@jacob.small

I think i got it, but debug mode is hell. so you can not experiment as in python. you should have a solid aim in your workflows! open/close Revit, delete path and reload.

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

```csharp
using System;
using System.Collections.Generic;
using System.Linq;

namespace MyDraxl
{
    public class Combine
    {
        // Method to combine two arrays of strings into a list of arrays
        public static List<string[]> Combined(string[] array1, string[] array2)
        {
            // Zip the two arrays and create an array of each pair
            var zip = array1.Zip(array2, (a, b) => new string[] { a, b });

            // Return the result as a list of arrays
            return zip.ToList();
        }
    }
}

```

it works at least

---

<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:** [May 30, 2024, 5:06pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/11 "2024-05-30T17:06:48Z")

</div>

> [@Draxl\_Andreas](#):
>
> I think i got it, but debug mode is hell. so you can not experiment as in python. you should have a solid aim in your workflows! open/close Revit, delete path and reload.

Sounds like you need to update your IDE - latest Visual Studio can ‘hot reload’ in most circumstances. Also as you aren’t loading the Revit API you’re better off building this for Dynamo Sandbox for now; it’ll help debugging as you can load faster and you’ll be able to hot reload more often.

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [June 3, 2024, 2:32pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/12 "2024-06-03T14:32:58Z")

</div>

@jacob.small ,

this is the latest one (?)

> **[Visual Studio-Tools herunterladen: Kostenlose Installation für Windows, Mac,...](https://visualstudio.microsoft.com/de/downloads/)**
>
> Laden Sie die Visual Studio-IDE oder VS Code kostenlos herunter. Testen Sie die Visual Studio Professional- oder Enterprise-Edition unter Windows oder Mac.

Visual Studio 2022

---

<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:** [June 3, 2024, 2:39pm UTC](https://forum.dynamobim.com/t/add-reference-for-zerotouchnode/101436/13 "2024-06-03T14:39:52Z")

</div>

Yep!
