<?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>topic Re: Draw highlighted line using a DrawJig in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13291884#M965</link>
    <description>&lt;P&gt;My command line has been that way for as long as it's been configurable.&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 23:27:24 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2025-01-30T23:27:24Z</dc:date>
    <item>
      <title>Draw highlighted line using a DrawJig</title>
      <link>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13290472#M962</link>
      <description>&lt;P&gt;Hallo Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemented a DrawJig which draws a line in its ViewportDraw-Method. I want this line to be highlighted. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got it working with but I would like to use the Jig to do it. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TransientManager.CurrentTransientManager.AddTransient(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; line,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; TransientDrawingMode.Highlight,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 128,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; viewportIds&lt;BR /&gt;);&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 12:39:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13290472#M962</guid>
      <dc:creator>fehrsZBFB9</dc:creator>
      <dc:date>2025-01-30T12:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Draw highlighted line using a DrawJig</title>
      <link>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13291801#M963</link>
      <description>&lt;P&gt;In your previous post, you said you wanted the line to look like a rubber-band.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please clarify, do you mean a rubber-band cursor or a highlighted entity?&amp;nbsp; In general, a rubber-band cursor is drawn the way AutoCAD draws them for most operations that involve dragging from a base point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You say that the basepoint is constantly changing, which is fine in some specialized use-cases. You can set the BasePoint in each call to the Sampler() override to whatever you want, but in my own uses of Jigs, where the basepoint is not fixed, I just use a CursorType of RubberBand to draw a rubber-band cursor from the basepoint to the current cursor position.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the clip below, the JigPromptPointOptions.BasePoint property is continuously updated on each call to Sampler() to be at the closest point on a curve to the current cursor position.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="acad_N3EClSvPXl.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1461242i81554A8244B82B86/image-size/large?v=v2&amp;amp;px=999" role="button" title="acad_N3EClSvPXl.gif" alt="acad_N3EClSvPXl.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 22:38:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13291801#M963</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-01-30T22:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Draw highlighted line using a DrawJig</title>
      <link>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13291839#M964</link>
      <description>&lt;P&gt;Blue command line?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 22:47:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13291839#M964</guid>
      <dc:creator>daniel_cadext</dc:creator>
      <dc:date>2025-01-30T22:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Draw highlighted line using a DrawJig</title>
      <link>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13291884#M965</link>
      <description>&lt;P&gt;My command line has been that way for as long as it's been configurable.&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 23:27:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13291884#M965</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-01-30T23:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Draw highlighted line using a DrawJig</title>
      <link>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13296325#M966</link>
      <description>&lt;P&gt;Hi. I'm talking about highlighting NON-Database resident Curves. The highlighted curve is the nearest to the current cursor position, so it's changing. I currently use a TransientManager to do so but if I have the DrawJig-Method anyway I thought it could be possible doing it there. But I haven't found any options. I assume the highlighting effect is applied later and not through World- or ViewportDraw.&lt;BR /&gt;I think I could use an EntityJig but it takes only ONE-Entity on construction. It is not possible to switch it later.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 08:49:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/draw-highlighted-line-using-a-drawjig/m-p/13296325#M966</guid>
      <dc:creator>fehrsZBFB9</dc:creator>
      <dc:date>2025-02-03T08:49:54Z</dc:date>
    </item>
  </channel>
</rss>

