<?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: How to how to make Selection Set filter for Cogo Points (DXF Codes)? in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510213#M18201</link>
    <description>&lt;P&gt;Yes, that works great for single entity picks, Peter. But for a selection set, still need to use the SSFilters.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2013 19:07:30 GMT</pubDate>
    <dc:creator>Jeff_M</dc:creator>
    <dc:date>2013-10-10T19:07:30Z</dc:date>
    <item>
      <title>How to how to make Selection Set filter for Cogo Points (DXF Codes)?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510063#M18196</link>
      <description>&lt;P&gt;I'm learning about programming for AutoCAD in VB.NET and still kinda new to things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering how to develop a Selection Set Filter that will select only Cogo Points? I know I need to use Dxf.Start as the code, but then what's the string associated with Cogo Points? Can't find any documentation on this or any Civil 3D-unique entities...I know Line is just "Line" and "Arc" is just arc...but Polyline is the unintuitive "LWPolyline" and "Cogo Point" isn't working...&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 18:40:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510063#M18196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T18:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to how to make Selection Set filter for Cogo Points (DXF Codes)?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510115#M18197</link>
      <description>&lt;P&gt;To determine the string needed for items, create one in a drawing, select it, then LIST it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Command: li&lt;BR /&gt;LIST 1 found&lt;/P&gt;
&lt;P&gt;AECC_COGO_POINT &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;This is the DXF Object Name&lt;/P&gt;
&lt;P&gt;Layer: "C-SITE-SIDEWALK"&lt;BR /&gt; Space: Model space&lt;BR /&gt; Handle = 51eb9&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 18:54:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510115#M18197</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2013-10-10T18:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to how to make Selection Set filter for Cogo Points (DXF Codes)?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510133#M18198</link>
      <description>&lt;P&gt;BOOM! Knew there had to be some simple place to look. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 18:56:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510133#M18198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T18:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to how to make Selection Set filter for Cogo Points (DXF Codes)?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510199#M18199</link>
      <description>&lt;P&gt;Instead of doing it with a selection set filter, look a the PromptEntityOptions object and the "AddAllowedClass" method. This is a really easy to limit the objects that can be selected. You can add the "SetRejectMessage" as well to give feedback when entities of the wrong type are selected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the lines in C#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;PromptEntityOptions&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; peo = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;PromptEntityOptions&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;&lt;FONT face="Consolas" size="2" color="#a31515"&gt;"Select a COGO Point"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;peo.AddAllowedClass(&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;typeof&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(Autodesk.Civil.DatabaseServices.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;&lt;FONT face="Consolas" size="2" color="#2b91af"&gt;CogoPoint&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;), &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Cheers,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Peter Funk&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;Autodesk, Inc.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 19:03:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510199#M18199</guid>
      <dc:creator>peterfunkautodesk</dc:creator>
      <dc:date>2013-10-10T19:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to how to make Selection Set filter for Cogo Points (DXF Codes)?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510205#M18200</link>
      <description>&lt;P&gt;Peter, does that work if I am doing a selection by window polygon?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 19:05:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510205#M18200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-10T19:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to how to make Selection Set filter for Cogo Points (DXF Codes)?</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510213#M18201</link>
      <description>&lt;P&gt;Yes, that works great for single entity picks, Peter. But for a selection set, still need to use the SSFilters.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 19:07:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-how-to-make-selection-set-filter-for-cogo-points-dxf/m-p/4510213#M18201</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2013-10-10T19:07:30Z</dc:date>
    </item>
  </channel>
</rss>

