# Specified argument was out of range of valid values

**URL:** <https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175>\
**Category:** Geometry\
**Tags:** dynamo\
**Created:** [May 20, 2021, 11:33am UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175 "2021-05-20T11:33:12Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 20, 2021, 11:33am UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/1 "2021-05-20T11:33:12Z")

</div>

Hello there,

I have tried to replicate the same script as the link below but the node _Views.CreateCallout_ keeps retrieving the warning “Specified argument was out of range of valid values”. I have changed my geometry scaling settings, but it doesn’t work. Any idea why, please?  
I’m using Dynamo 2.3.0 with RVT 2020.2

[https://forum.dynamobim.com/t/view-create-callout-node/34210](https://forum.dynamobim.com/t/view-create-callout-node/34210)

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:** [May 20, 2021, 10:26pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/2 "2021-05-20T22:26:01Z")

</div>

Can you post your graph and associated inputs so we can see what you’re feeding into the node? Hard to understand why ‘it hurts when I go like this’ if we can’t see what ‘this’ is. 🙂

---

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 21, 2021, 7:32am UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/3 "2021-05-21T07:32:03Z")

</div>

Hello Jacob,

See below graph. Elements selected are simple lines.

Regards

 ![CreateCallOutViews_2021-05-21_08-21-07](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/f/6f687b4797322c4fab127ec961fb12980cf64593.png)

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [May 21, 2021, 8:41am UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/4 "2021-05-21T08:41:20Z")

</div>

@MarioTJ What archi-lab package version have you got?

This ⬇ package version created the callout for me in Revit 2020  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f70fd1bcc9104dfea1d40a63565508435ac6ede4.png)

While it failed with latest package version 2022.xxx.xxxx.

---

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 21, 2021, 10:52am UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/5 "2021-05-21T10:52:43Z")

</div>

Sir,

I downgraded it to that version but the issue still persists. 🤷‍♂️

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:** [May 21, 2021, 1:09pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/6 "2021-05-21T13:09:29Z")

</div>

Can you try with a rectangle built at the origin?

---

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 21, 2021, 1:45pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/7 "2021-05-21T13:45:48Z")

</div>

Jacob,

Does not seem to be very collaborative. Really appreciate the effort.

Regards

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/4/e4313f3e699999973c170bfa3bce90d53f5b4110.jpeg)

---

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 21, 2021, 3:02pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/8 "2021-05-21T15:02:44Z")

</div>

I have also tried this but failed miserable. Could it be a units problem between dynamo and revit? That’s the only thing that springs to mine.

Regards

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/0/50f10b6a539f1c1aeab746fc58841674dd0e5a66.jpeg)

---

<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 21, 2021, 3:13pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/9 "2021-05-21T15:13:36Z")

</div>

Next thing to try: a different view.

Create a plan at elevation 0 and attempt to use the same rectangle here on that. If that works, it may be that the linework you’re sending needs to be pulled onto the view’s plane.

---

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 24, 2021, 11:17am UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/10 "2021-05-24T11:17:00Z")

</div>

Jacob,

I have tried it this morning in a blank project and it worked. However it doesn’t work in my original project even when changing views as you suggested. Any idea on what can be triggering this behavior?

Many thanks for your answers.

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:** [May 24, 2021, 11:47am UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/11 "2021-05-24T11:47:52Z")

</div>

Are the lines on the view’s plane?

---

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 24, 2021, 1:17pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/12 "2021-05-24T13:17:19Z")

</div>

This is funny, I made it work in an arch. floor plan but it doesn’t work in a str. floor plan. We are getting closer Jacob.

---

<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 24, 2021, 6:23pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/13 "2021-05-24T18:23:57Z")

</div>

Might be an API limitation, or an issue with how the node was authored. I suggest reaching out to Konrad by creating an issue for this on the [Archi-Lab](https://forum.dynamobim.com/t/revit-2022-dynamo-2-10-package-not-showing-up-and-icons-missing/62933/7?) github: [Issues · ksobon/archilab · GitHub](https://github.com/ksobon/archilab/issues)

---

<div class="post-metadata">

**Author:** ![MarioTJ](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mariotj/32/37610_2.png) [@MarioTJ](https://forum.dynamobim.com/u/MarioTJ)\
**Post date:** [May 24, 2021, 6:49pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/14 "2021-05-24T18:49:14Z")

</div>

Thanks for your time Jacobs. I will do.

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [May 25, 2021, 8:58pm UTC](https://forum.dynamobim.com/t/specified-argument-was-out-of-range-of-valid-values/64175/15 "2021-05-25T20:58:08Z")

</div>

It was fixed in the latest version of the package. 2022.210.1520 is the latest at the moment for Revit 2020.
