<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Rubberband when drawing lines with the API en Revit Ideas</title>
    <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idi-p/8426661</link>
    <description>&lt;P&gt;As a developer i need rubberband diplay when drawing lines.&lt;BR /&gt;A "rubberband"&amp;nbsp;is the preview line that sticks to the cursor until&amp;nbsp;the user picks the next point.&lt;BR /&gt;So it would behave in the same way as Revit does when drawing lines manually.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2018 09:07:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-27T09:07:45Z</dc:date>
    <item>
      <title>Prompt user to draw a line from the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8171807#M46655</link>
      <description>&lt;P&gt;I think it would be handy to ask a user to select two points and have a line drawn between them only make it like the standard "Draw a line" function rather than selecting two points and passing them into the current line creation function. Basically what I would like is for a phantom line to follow the mouse from the first point they selected until they select the second point.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 21:27:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8171807#M46655</guid>
      <dc:creator>Austin.Sudtelgte</dc:creator>
      <dc:date>2018-08-01T21:27:04Z</dc:date>
    </item>
    <item>
      <title>Rubberband when drawing lines with the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idi-p/8426661</link>
      <description>&lt;P&gt;As a developer i need rubberband diplay when drawing lines.&lt;BR /&gt;A "rubberband"&amp;nbsp;is the preview line that sticks to the cursor until&amp;nbsp;the user picks the next point.&lt;BR /&gt;So it would behave in the same way as Revit does when drawing lines manually.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 09:07:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idi-p/8426661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-27T09:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband when drawing lines with the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8428377#M23969</link>
      <description>&lt;P&gt;To continue on what Håvard writes we (Symetri) have used "&lt;FONT&gt;UI.Selection.PickPoint" to pick 2 points. Then we used the picked points to draw a line (or electrical wire) between those points. It would be really nice if we could have the API extended so that "PickPoint" could use an optional "starting point" parameter (type XYZ) and display a rubberband from this starting point (visually it would look very much like when you use the ordinary line-tool in Revit).&lt;BR /&gt;&lt;BR /&gt;We saw that there also is a similar suggestion in another post on the address below:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/prompt-user-to-draw-a-line-from-the-api/idi-p/8171807" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/prompt-user-to-draw-a-line-from-the-api/idi-p/8171807&lt;/A&gt;&lt;BR /&gt;(The description of "phantom line" is probably what we have called "rubberband".)&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 20:07:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8428377#M23969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-27T20:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Prompt user to draw a line from the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8429306#M46656</link>
      <description>&lt;P&gt;Upvoted and link to similar issue: here&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idi-p/8426661" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idi-p/8426661&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 06:56:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8429306#M46656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-28T06:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband when drawing lines with the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8431762#M24002</link>
      <description>&lt;P&gt;Yes - I would really like this, writing plugins without this feature makes it confusing for the user when picking points.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 23:02:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/8431762#M24002</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2018-11-28T23:02:30Z</dc:date>
    </item>
    <item>
      <title>API: add a PickDist (and/or PickPoint with a starting point)</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9014903#M34269</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Something similar to AutoLISP's&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://docs.autodesk.com/ACD/2011/ENU/filesALR/WS1a9193826455f5ff1a32d8d10ebc6b7ccc-6a08.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;getdist&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://docs.autodesk.com/ACD/2011/ENU/filesALR/WS1a9193826455f5ff1a32d8d10ebc6b7ccc-69fb.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;getpoint&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;(that would show a line from the first point as the user is inputting the second point and/or entering the distance).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I created a quick-and-dirty Add-in that&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;needs the user to input/measure a distance&lt;/STRONG&gt;&lt;SPAN&gt;. However, there isn't a ready-made input function in Revit - only single-point input (or box). See also&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/equivalent-to-getdist-in-revit/m-p/9014796" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/equivalent-to-getdist-in-revit/m-p/9014796&lt;/A&gt;. I made the routine thinking it would make it easier for the drafters to not have to look up the fudge factor relating text height to schedule row height (when formatting revision schedules) - measure a distance, multiply it by a constant, then tell the user.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 20:21:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9014903#M34269</guid>
      <dc:creator>lionel.kai</dc:creator>
      <dc:date>2019-09-09T20:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband when drawing lines with the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9375778#M31535</link>
      <description>&lt;P&gt;Agree this would be very useful to allow users to interact with api apps.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 05:08:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9375778#M31535</guid>
      <dc:creator>sgermanoZ2Y2F</dc:creator>
      <dc:date>2020-03-13T05:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: API: add a PickDist (and/or PickPoint with a starting point)</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9843306#M34270</link>
      <description>&lt;P&gt;duplicate ideas:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/prompt-user-to-draw-a-line-from-the-api/idi-p/8171807" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/prompt-user-to-draw-a-line-from-the-api/idi-p/8171807&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idi-p/8426661" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idi-p/8426661&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 17:48:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9843306#M34270</guid>
      <dc:creator>lionel.kai</dc:creator>
      <dc:date>2020-11-03T17:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Prompt user to draw a line from the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9843309#M46657</link>
      <description>&lt;P&gt;&lt;FONT&gt;duplicate idea:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/api-add-a-pickdist-and-or-pickpoint-with-a-starting-point/idc-p/9843306" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-ideas/api-add-a-pickdist-and-or-pickpoint-with-a-starting-point/idc-p/9843306&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 17:49:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/9843309#M46657</guid>
      <dc:creator>lionel.kai</dc:creator>
      <dc:date>2020-11-03T17:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband when drawing lines with the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/11370492#M46409</link>
      <description>&lt;P&gt;As a work around for now, maybe you could prompt the user to place a line based detail item which you rollback. then use that information in your code to place a normal detail line or whatever you wanted to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still i upvoted this one. would be nice to have a more solid solution for this in the api.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2022 11:12:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/11370492#M46409</guid>
      <dc:creator>c.ooijevaar</dc:creator>
      <dc:date>2022-08-20T11:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rubberband when drawing lines with the API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/11396894#M46614</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3528515"&gt;@c.ooijevaar&lt;/a&gt;&amp;nbsp;Unfortunately, that's much easier said than done. You'd have to write your code in two parts - the first part to start the line command (and setup an event listener). Then, after the user draws the line, your event listener would take the "input" from the line and do whatever... and you'd have to handle a "cancel" (Esc) during the line draw, too. Definitely not for a beginner (like me). Imagine if you needed two inputs!&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@6C18F19C13A08939F48A7626715760F4/emoticons/1f644.png" alt=":cara_con_los_ojos_en_blanco:" title=":cara_con_los_ojos_en_blanco:" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 06:19:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/rubberband-when-drawing-lines-with-the-api/idc-p/11396894#M46614</guid>
      <dc:creator>lionel.kai</dc:creator>
      <dc:date>2022-09-02T06:19:03Z</dc:date>
    </item>
  </channel>
</rss>

