<?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: Help with Hatches in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/2396212#M72432</link>
    <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;What part of it are you having problems with?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;Drawing the hatch, or getting the hatch lines?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;The Hatch class exposes a GetHatchLinesData() method &lt;BR /&gt;
that&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;returns the lines. If you're stuck on drawing the hatch &lt;BR /&gt;
itself,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;then I suspect you need to spend a little more time &lt;BR /&gt;
learning&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;the API before trying to tackle something like &lt;BR /&gt;
that.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;Creating hatching is a bit more complicated than creating &lt;BR /&gt;
&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;something simpler like a polyline, and involves other &lt;BR /&gt;
objects&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;in the definition, so unless someone here wants to &lt;BR /&gt;
provide&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;you with a detailed example of it (sorry, I don't have &lt;BR /&gt;
the&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;time), your best bet would be to&amp;nbsp;focus on becoming a &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT size="2"&gt;more &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;familiar with the tools you're trying to use, which &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT size="2"&gt;might allow &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;you to arrive at a solution yourself.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;BR /&gt;-- &lt;BR /&gt;&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.caddzone.com"&amp;gt;http://www.caddzone.com&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;Supporting AutoCAD 2000 &lt;BR /&gt;
through 2009&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.acadxtabs.com"&amp;gt;http://www.acadxtabs.com&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Introducing AcadXTabs 2010:&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm"&amp;gt;http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;lt;leonardlay&amp;gt; wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:6088524@discussion.autodesk.com"&amp;gt;news:6088524@discussion.autodesk.com&lt;/A&gt;...&lt;/DIV&gt;I &lt;BR /&gt;
  am using C# in Visual Studio 2008 with AutoCAD 2009. I am trying to draw a &lt;BR /&gt;
  Hatch object and then read the individual lines that make up the Hatch. I'm &lt;BR /&gt;
  not sure how to get started.&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Dec 2008 21:49:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-12-11T21:49:49Z</dc:date>
    <item>
      <title>Help with Hatches</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/2396211#M72431</link>
      <description>I am using C# in Visual Studio 2008 with AutoCAD 2009.  I am trying to draw a Hatch object and then read the individual lines that make up the Hatch. I'm not sure how to get started.</description>
      <pubDate>Thu, 11 Dec 2008 20:38:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/2396211#M72431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-11T20:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Hatches</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/2396212#M72432</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;What part of it are you having problems with?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;Drawing the hatch, or getting the hatch lines?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;The Hatch class exposes a GetHatchLinesData() method &lt;BR /&gt;
that&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;returns the lines. If you're stuck on drawing the hatch &lt;BR /&gt;
itself,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;then I suspect you need to spend a little more time &lt;BR /&gt;
learning&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;the API before trying to tackle something like &lt;BR /&gt;
that.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;Creating hatching is a bit more complicated than creating &lt;BR /&gt;
&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;something simpler like a polyline, and involves other &lt;BR /&gt;
objects&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;in the definition, so unless someone here wants to &lt;BR /&gt;
provide&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;you with a detailed example of it (sorry, I don't have &lt;BR /&gt;
the&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;time), your best bet would be to&amp;nbsp;focus on becoming a &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT size="2"&gt;more &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;familiar with the tools you're trying to use, which &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT size="2"&gt;might allow &lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;you to arrive at a solution yourself.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;BR /&gt;-- &lt;BR /&gt;&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.caddzone.com"&amp;gt;http://www.caddzone.com&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;Supporting AutoCAD 2000 &lt;BR /&gt;
through 2009&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.acadxtabs.com"&amp;gt;http://www.acadxtabs.com&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Introducing AcadXTabs 2010:&lt;BR /&gt;&lt;A&gt;&lt;BR /&gt;
href="http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm"&amp;gt;http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;lt;leonardlay&amp;gt; wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:6088524@discussion.autodesk.com"&amp;gt;news:6088524@discussion.autodesk.com&lt;/A&gt;...&lt;/DIV&gt;I &lt;BR /&gt;
  am using C# in Visual Studio 2008 with AutoCAD 2009. I am trying to draw a &lt;BR /&gt;
  Hatch object and then read the individual lines that make up the Hatch. I'm &lt;BR /&gt;
  not sure how to get started.&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Dec 2008 21:49:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/2396212#M72432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-11T21:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Hatches</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/2396213#M72433</link>
      <description>I was able to create the Hatch object.  I am able to get a count of the lines that make up the Hatch and I can access the Line2d objects that are in the Hatch.  However, I need to be able to get the endpoints of the segments that make up the Hatch.  Line2d objects don't have endpoints that I can access.  Is there another way to get the endpoint information from the lines in the Hatch?  I also noticed that the Line2d objects that are returned using the GetHatchLineDataAt(index) method have directions that are not the same as the direction of the hatch lines in the drawing and they aren't even parallel to each other.&lt;BR /&gt;
&lt;BR /&gt;
Edited by: leonardlay on Dec 12, 2008 7:37 PM

Edited by: leonardlay on Dec 15, 2008 12:05 PM</description>
      <pubDate>Fri, 12 Dec 2008 12:34:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/2396213#M72433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-12T12:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Hatches</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/6591557#M72434</link>
      <description>&lt;BLOCKQUOTE&gt;Hello leonardlay,&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;Have you solved this issue?&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;I'm stuck with it using AutoCAD 2016 .NET. Still a set&amp;nbsp;of&amp;nbsp;Line2d objects&amp;nbsp;instead of LineSegment2d.&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;On the ObjectARX side the function returns correct endpoints.&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;Zolee&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:42:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-hatches/m-p/6591557#M72434</guid>
      <dc:creator>torokze2</dc:creator>
      <dc:date>2016-09-29T09:42:44Z</dc:date>
    </item>
  </channel>
</rss>

