# Reference point driven arc model line using Dynamo

**URL:** <https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [September 20, 2017, 8:06pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981 "2017-09-20T20:06:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 20, 2017, 8:06pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/1 "2017-09-20T20:06:40Z")

</div>

Is there a node (built-in or package) or any other way, to create a Start-End-Radius Arc model line? To clarify I trying to create a reference point driven arc using dynamo to connect the reference points.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 20, 2017, 9:01pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/2 "2017-09-20T21:01:30Z")

</div>

I don’t see one from the OOTB nodes but you should be able to do it with a little trig.

---

<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:** [September 21, 2017, 1:57am UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/3 "2017-09-21T01:57:08Z")

</div>

Basic and sloppy, but it works.

I skipped the trig and instead relied on some basic geometry intersections. It returned 6112 curves or warnings in a reasonable timeframe… Warning is customizable if you open the node and edit it, and I thought it necessary due to the likely scenario where a radius couldn’t reach both endpoints when feeding a list. Also added a true/false to flip the result to the opposite center point if you didn’t get a curve you liked the first time out.

[Arc by Start, End, Radius.dyf](https://forum.dynamobim.com/uploads/short-url/6fSO1rg51cAaJKG7Txk9FKxZ3N.dyf) (5.5 KB)

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [September 21, 2017, 11:04am UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/4 "2017-09-21T11:04:14Z")

</div>

@Tryphon_Foteinopoulo  
The circle method could inspire you (please share your graph when you are done):

 ![Circle-by-2-points-radius](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/a/4a3f68a448500835666eabde50e4402d7781274d.PNG)

---

<div class="post-metadata">

**Author:** ![viktor\_kuzev](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/viktor_kuzev/32/48254_2.png) [@viktor\_kuzev](https://forum.dynamobim.com/u/viktor_kuzev)\
**Post date:** [September 21, 2017, 12:08pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/5 "2017-09-21T12:08:22Z")

</div>

Another approach:

 ![arc](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/4/742a6295dcfbf7279469d9c01cfeb5e89d3d3999.gif)[arc.dyn](https://forum.dynamobim.com/uploads/short-url/g96t4u5hJEoGZk808rkBi3IBR1O.dyn) (11.7 KB)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [September 21, 2017, 12:31pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/6 "2017-09-21T12:31:05Z")

</div>

When two points and radius are specified, two arcs are possible…

 ![20170921-7](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/2/02c97cc1cb4b81b9ca089a9e8c839b53ab36609a.png)

```
c1 = Circle.ByCenterPointRadius({p1,p2},r1);
i1 = c1[0].Intersect(c1[1]);
p3 = i1[0].Translate(Vector.ByTwoPoints(i1[0],i1[1]),r1);
p4 = i1[1].Translate(Vector.ByTwoPoints(i1[1],i1[0]),r1);
a1 = Arc.ByThreePoints(p1,p3,p2);
a2 = Arc.ByThreePoints(p1,p4,p2);
```

---

<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:** [September 21, 2017, 12:40pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/8 "2017-09-21T12:40:15Z")

</div>

> [@Vikram\_Subbaiah](#):
>
> When two points and radius are specified, two arcs are possible…

Psssst… that was why both solutions had incorporated a true/false or 1/-1 flip. 😉

I’ll post an image of the inner workings of the one I built later on if I remember.

---

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 21, 2017, 7:49pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/16 "2017-09-21T19:49:33Z")

</div>

Thank you all for your efforts guys but none of the above is exactly what I am looking for… I am sure it is my fault. Let me explain better.  
What I am trying to do is run the Start-End-Radius Arc command through Dynamo, feeding it 3 existing ref points, 2 for the start and end and a 3rd for the radius. The equivalent in Revit is to use Start-End-Radius Arc tool with 3d snapping on and snap to 3 existing reference points. The end result should be an arc driven by 3 reference points without having to run dynamo.  
To put it another way, is like using the CurveByPoints.ByReferencePoints nod to connect 3 points but instead of getting a spline through points, to get an arc.  
Thanks again.

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [September 21, 2017, 7:52pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/17 "2017-09-21T19:52:32Z")

</div>

Do you expect someone to do that for you or will you share what you tried?

---

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 21, 2017, 8:00pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/18 "2017-09-21T20:00:44Z")

</div>

I have not find any solution yet. I am trying a python script

---

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 21, 2017, 8:01pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/19 "2017-09-21T20:01:20Z")

</div>

When I have something that works be sure I will share it!

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [September 21, 2017, 8:07pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/20 "2017-09-21T20:07:18Z")

</div>

Great, do not hesitate to show the progress of your research (and optionally to start a new thread with it)…

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 21, 2017, 8:19pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/21 "2017-09-21T20:19:42Z")

</div>

If you have 3 points then don’t you just need Arc.ByCenterPointStartPointEndPoint?

---

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 21, 2017, 9:10pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/22 "2017-09-21T21:10:48Z")

</div>

Do you mean Arc.ByThreePoints?  
Because the resulting model curve won’t be driven by the ref points if dynamo is not running. Thats why I used the CurveByPoints.ByReferencePoints analogy. With this node you get a spline driven by ref points even when dynamo is not running.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 21, 2017, 9:30pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/23 "2017-09-21T21:30:26Z")

</div>

I guess that depends on where your third point is. With Revit’s Start-End-Radius the third point (radius) is the center of the arc.

And what do you mean “even when dynamo isn’t running”?

---

<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:** [September 22, 2017, 1:36am UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/24 "2017-09-22T01:36:21Z")

</div>

> [@Nick\_Boyts](#):
>
> And what do you mean “even when dynamo isn’t running”?

I’m also confused by that. Once dynamo generates the arc and you create the reference line/plane/whatever by it you will have no reason to keep dynamo running. You have the plane already at that point. And if dynamo is generating the shape how are you not run Dynamo?

The forum needs you to step back and explain where you are, where you want to be, and how you have tried to get there so far. Otherwise we can only give you directions from where we are to where we think you want to be.

---

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 23, 2017, 12:19pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/25 "2017-09-23T12:19:31Z")

</div>

Thanks a lot for the help

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [September 23, 2017, 12:29pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/26 "2017-09-23T12:29:57Z")

</div>

Please try something with Dynamo and share your graph with the related issues this forum could help to solve

---

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 23, 2017, 12:32pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/27 "2017-09-23T12:32:58Z")

</div>

I don’t think there is a way to do that without a python script. Unfortunately I can’t write code. That’s why I am asking for help!

---

<div class="post-metadata">

**Author:** ![Tryphon\_Foteinopoulo](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tryphon\_Foteinopoulo](https://forum.dynamobim.com/u/Tryphon_Foteinopoulo)\
**Post date:** [September 23, 2017, 12:36pm UTC](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981/28 "2017-09-23T12:36:29Z")

</div>

If you don’t want to help then don’t! I understand the ethics of this forum. I don’t need a lecture.

[Next page](https://forum.dynamobim.com/t/reference-point-driven-arc-model-line-using-dynamo/14981.md?page=2)
