# User input points in current view

**URL:** <https://forum.dynamobim.com/t/user-input-points-in-current-view/33576>\
**Category:** Uncategorized\
**Created:** [March 16, 2019, 6:54pm UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576 "2019-03-16T18:54:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giovanni\_Succi](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Succi](https://forum.dynamobim.com/u/Giovanni_Succi)\
**Post date:** [March 16, 2019, 6:54pm UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/1 "2019-03-16T18:54:28Z")

</div>

Hello,  
Which is the best way to prompt the user for a sequence of points and use them in a dynamo script?  
Like lisp “getpoint()” function.?

Thank you

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [March 16, 2019, 11:31pm UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/2 "2019-03-16T23:31:45Z")

</div>

Have a look at these topics 😉

> [@Is it possible to prompt pickpoint in revit section view from dynamo?](https://forum.dynamobim.com/t/is-it-possible-to-prompt-pickpoint-in-revit-section-view-from-dynamo/19620/3):
>
> Use the :snowflake:\_Set Sketchplane By View node and then the :snowflake:\_Pick Points on Workplane from the Sastrugi package, as it uses the same Pickpoint method with a reset function. Setting the sketchplane when the Active view is the sheet before picking the points should do the trick wink You can use the Passthrough node from the Clockwork package to force the run order.

> [@Differing Results in Dynamo Player](https://forum.dynamobim.com/t/differing-results-in-dynamo-player/21080/4):
>
> I have just updated the Sastrugi package to v 0.1.2 and this contains a node called :snowflake:\_Set Sketchplane By View. When used in conjucntion with the :snowflake:\_Pick Points on Workplane node, you can pick points in a section view. Refer below. wink

> [@How to get coordinate value by snapping to the element](https://forum.dynamobim.com/t/how-to-get-coordinate-value-by-snapping-to-the-element/29656/4):
>
> Something like this? :snowflake:\_Pick Points on Workplane from the Sastrugi package. [Pick%20Points%20with%20Object%20Snaps]

---

<div class="post-metadata">

**Author:** ![Giovanni\_Succi](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Succi](https://forum.dynamobim.com/u/Giovanni_Succi)\
**Post date:** [March 17, 2019, 5:02am UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/3 "2019-03-17T05:02:38Z")

</div>

thank you,  
the Sastrugi node seems to work, however, the Revit points returned by the node are out in space (like, 100s time bigger than the points I am inputting) while the Dynamo points are triplets of numbers within round parenthesis, which of course cannot be used with the Line by points node…

Any suggestion? How do I scale the RevitPoints? or how do I use the DynamoPoints?

See attached  
 ![16-03-2019-10-02-12](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/3/a3508e3b490568a0eb7731da0a0cd96d8468c27d.png) …

thank you

regards

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [March 17, 2019, 6:23am UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/4 "2019-03-17T06:23:28Z")

</div>

What is your project unit for distance?  
The node is written to convert from Revits Standard of Imperial, to Metric measurements. I will post the code snip in the morning of this function without any conversion. In the meantime, you could try the unit conversion OOTB node.

Also, another consideration, are you in a Sheet view or model view?

---

<div class="post-metadata">

**Author:** ![Giovanni\_Succi](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Succi](https://forum.dynamobim.com/u/Giovanni_Succi)\
**Post date:** [March 17, 2019, 6:56pm UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/5 "2019-03-17T18:56:15Z")

</div>

I was testing this in a default plan view.  
I thought the node would return the actual points picked, no matter what project units.

What is the use of the “DynamoPoints?” I cannot find where they are documented. What kind of data structure is that? I have no problems using those, but they do not seem compatible with other nodes…

There was a post about a node that converts “comma delimited data” into regular lists, but I cannot find the package…

thank you

regards

gio

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [March 17, 2019, 7:33pm UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/6 "2019-03-17T19:33:21Z")

</div>

Perhaps a slight re-write in my next package update to sense project units.

A thought, is your project location based on shared coordinates? If so, this may be the reason the node is reporting only the Dynamo XYZ not the transformed Revit XYZ.

Can you try converting the coordinates picked and see if that alleviates your issue.  
(I should include this functionality into the node as an options as well 🤔)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/2/c2b4b317febbf024d68bf948171492f2caf45dfb.png)

---

<div class="post-metadata">

**Author:** ![Giovanni\_Succi](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Succi](https://forum.dynamobim.com/u/Giovanni_Succi)\
**Post date:** [March 17, 2019, 10:03pm UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/7 "2019-03-17T22:03:30Z")

</div>

Ewan

thank you, let me know when you will have time to revise the script.

I have elected not to use direct points input, even because there is no robber line between the points, and it becomes difficult to see what one is drawing.

So I decided to use regular Revit detail lines, to be imputed in the script. Of course, the OOTB node (incredibly) only allows for window selecting, no clicks, no CTRL, no Shift, no Tab to select linked lines.

So I found a node that return the current Revit selection, and I decided to use the script with a pre-picked sequence of detail lines.

Of course there is no way to write instructions in the Dynamo player, (like a text note at the beginning) so I will have to write a separate document to tell people how to use the script.

Thank you again

regards

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [March 17, 2019, 10:29pm UTC](https://forum.dynamobim.com/t/user-input-points-in-current-view/33576/8 "2019-03-17T22:29:07Z")

</div>

> [@Giovanni\_Succi](#):
>
> thank you, let me know when you will have time to revise the script

👍

> [@Giovanni\_Succi](#):
>
> So I decided to use regular Revit detail lines, to be imputed in the script. Of course, the OOTB node (incredibly) only allows for window selecting, no clicks, no CTRL, no Shift, no Tab to select linked lines.

> [@Giovanni\_Succi](#):
>
> Of course there is no way to write instructions in the Dynamo player, (like a text note at the beginning) so I will have to write a separate document to tell people how to use the script.

The **Data-shapes** package by @Mostafa_El_Ayoubi allows for multiple user prompts, instructional input and multiple selection (even from linked files).  
I recommend you take a look. 🔭  
There are multiple topics relating to the use of this great package.

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

I always recommend exploring with an open mind to what Dynamo can and cannot do, it will typically surprise you (as it has me) with what its capabilities are. 😀
