<?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: VBA Code to Select/Filter Vertical and Horizontal Lines in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6917798#M8213</link>
    <description>&lt;P&gt;Is there any sample .dwg file ??&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2017 07:15:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-03T07:15:05Z</dc:date>
    <item>
      <title>VBA Code to Select/Filter Vertical and Horizontal Lines</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6917399#M8212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if it is possible to select all vertical lines and make them a particular colour, and to then select all horizontal lines and make them a certain colour using VBA? I feel like i need to use delta x and y or the angles e.g 90, 180, 270.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would anyone be able to assist me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 00:56:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6917399#M8212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T00:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code to Select/Filter Vertical and Horizontal Lines</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6917798#M8213</link>
      <description>&lt;P&gt;Is there any sample .dwg file ??&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 07:15:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6917798#M8213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T07:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code to Select/Filter Vertical and Horizontal Lines</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6919014#M8214</link>
      <description>&lt;P&gt;First you would create a selection set, filtering for all lines.&lt;/P&gt;&lt;P&gt;Then in a Select..Case structure, examine the AcadLine.Angle property&lt;/P&gt;&lt;P&gt;I would then set the line's Layer property and leave the color as ByLayer. That way you can use LAYISO.&lt;/P&gt;&lt;P&gt;Remember, acad lisp and vba express angles in radians.&lt;/P&gt;&lt;P&gt;You should find code samples in this forum for all of the steps above.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 15:26:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6919014#M8214</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2017-03-03T15:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code to Select/Filter Vertical and Horizontal Lines</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6922281#M8215</link>
      <description>&lt;P&gt;Here is an example of my drawing. I know how to do it manually by using the qselect command but no other way&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 20:51:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6922281#M8215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-05T20:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code to Select/Filter Vertical and Horizontal Lines</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6922697#M8216</link>
      <description>&lt;P&gt;Dim obj As AcadObject Dim line_obj As AcadLine For Each obj In Thisdrawing.Modelspace If TypeOf obj Is AcadLine Then Set line_obj = obj If line_obj.angle = 0 Then line_obj.color = acRed If Int(line_obj.angle / pi) = 180 Then line_obj.color = acRed line_obj.Update End If Next obj&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 05:38:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/6922697#M8216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T05:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code to Select/Filter Vertical and Horizontal Lines</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/10228885#M8217</link>
      <description>&lt;P&gt;You wrote:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I know how to do it manually by using the qselect command&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can you do it manually by using quick select command?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 12:00:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-code-to-select-filter-vertical-and-horizontal-lines/m-p/10228885#M8217</guid>
      <dc:creator>HoshangMustafa</dc:creator>
      <dc:date>2021-04-11T12:00:54Z</dc:date>
    </item>
  </channel>
</rss>

