<?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: I want to select objectId that area only available in particular layer state. that mean deselect hidden objects ID from current docuemnt in Civil 3d using c#. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/i-want-to-select-objectid-that-area-only-available-in-particular/m-p/12075614#M8276</link>
    <description>&lt;P&gt;How about if we get all layer names in layerstate &amp;amp; select objects which are on those layers only? Maybe following block of code will help you. It reads all the layer names in layerstate 'TEST1" and select objects which are on those layers.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;            ArrayList list = acLyrStMan.GetLayerStateLayers("TEST1", false);
            TypedValue[] typedValues = new TypedValue[list.Count];
            for(int i = 0; i &amp;lt; list.Count; i++)
            {
                typedValues[i] = new TypedValue((int)DxfCode.LayerName, list[i]);
            }
            SelectionFilter filter = new SelectionFilter(typedValues);
            PromptSelectionResult ids = ed.SelectAll(filter);&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 03 Jul 2023 03:54:58 GMT</pubDate>
    <dc:creator>shubhamraut221195</dc:creator>
    <dc:date>2023-07-03T03:54:58Z</dc:date>
    <item>
      <title>I want to select objectId that area only available in particular layer state. that mean deselect hidden objects ID from current docuemnt in Civil 3d using c#.</title>
      <link>https://forums.autodesk.com/t5/net-forum/i-want-to-select-objectid-that-area-only-available-in-particular/m-p/12071853#M8275</link>
      <description>&lt;P&gt;Any one has any idea or already know can post here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 13:33:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/i-want-to-select-objectid-that-area-only-available-in-particular/m-p/12071853#M8275</guid>
      <dc:creator>swarali_kulkarni4KMYK</dc:creator>
      <dc:date>2023-06-30T13:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: I want to select objectId that area only available in particular layer state. that mean deselect hidden objects ID from current docuemnt in Civil 3d using c#.</title>
      <link>https://forums.autodesk.com/t5/net-forum/i-want-to-select-objectid-that-area-only-available-in-particular/m-p/12075614#M8276</link>
      <description>&lt;P&gt;How about if we get all layer names in layerstate &amp;amp; select objects which are on those layers only? Maybe following block of code will help you. It reads all the layer names in layerstate 'TEST1" and select objects which are on those layers.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;            ArrayList list = acLyrStMan.GetLayerStateLayers("TEST1", false);
            TypedValue[] typedValues = new TypedValue[list.Count];
            for(int i = 0; i &amp;lt; list.Count; i++)
            {
                typedValues[i] = new TypedValue((int)DxfCode.LayerName, list[i]);
            }
            SelectionFilter filter = new SelectionFilter(typedValues);
            PromptSelectionResult ids = ed.SelectAll(filter);&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 03 Jul 2023 03:54:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/i-want-to-select-objectid-that-area-only-available-in-particular/m-p/12075614#M8276</guid>
      <dc:creator>shubhamraut221195</dc:creator>
      <dc:date>2023-07-03T03:54:58Z</dc:date>
    </item>
  </channel>
</rss>

