<?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 do you save a layer snapshot with a view in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3900105#M49783</link>
    <description>&lt;P&gt;Just Added to what was already pointed out,&lt;/P&gt;&lt;P&gt;I think it is stored in the LayerTables's ExtensionDictionary in another dictionary called ACAD_LAYERSTATES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dictionary should contain entries(Xrecords) called ACAD_VIEWS_XXXXXX where XXXXX is the view name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ResultBuffer returned from the Xrecod Data should contain information about the layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at the picture the '90' field with a value 10 correlates with a layer that is frozen, or it could pure coincidence&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LayerSnapshot.PNG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51701iB5597B31B55DF316/image-size/original?v=mpbl-1&amp;amp;px=-1" align="center" border="0" title="LayerSnapshot.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2013 02:50:28 GMT</pubDate>
    <dc:creator>jeff</dc:creator>
    <dc:date>2013-05-01T02:50:28Z</dc:date>
    <item>
      <title>How do you save a layer snapshot with a view</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3898399#M49781</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this code periously posted at the swamp to save layout views but would also like to save a layer snapshot at the same time as you can with the view command. Does anyone have a code example of how you would to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.theswamp.org/index.php?topic=42747.0"&gt;http://www.theswamp.org/index.php?topic=42747.0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 09:26:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3898399#M49781</guid>
      <dc:creator>ralstogj</dc:creator>
      <dc:date>2013-04-30T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do you save a layer snapshot with a view</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3900087#M49782</link>
      <description>None of that stuff is documented, so your only route if you can't find an example is to reverse-engineer what AutoCAD does to achieve the desired result. You would have to examine the objects involved, and see what data is being stored on them, or in some other related object, and write the code to generate the same data.</description>
      <pubDate>Wed, 01 May 2013 01:58:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3900087#M49782</guid>
      <dc:creator>DiningPhilosopher</dc:creator>
      <dc:date>2013-05-01T01:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do you save a layer snapshot with a view</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3900105#M49783</link>
      <description>&lt;P&gt;Just Added to what was already pointed out,&lt;/P&gt;&lt;P&gt;I think it is stored in the LayerTables's ExtensionDictionary in another dictionary called ACAD_LAYERSTATES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dictionary should contain entries(Xrecords) called ACAD_VIEWS_XXXXXX where XXXXX is the view name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ResultBuffer returned from the Xrecod Data should contain information about the layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at the picture the '90' field with a value 10 correlates with a layer that is frozen, or it could pure coincidence&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LayerSnapshot.PNG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51701iB5597B31B55DF316/image-size/original?v=mpbl-1&amp;amp;px=-1" align="center" border="0" title="LayerSnapshot.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 02:50:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3900105#M49783</guid>
      <dc:creator>jeff</dc:creator>
      <dc:date>2013-05-01T02:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you save a layer snapshot with a view</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3900534#M49784</link>
      <description>&lt;P&gt;Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply but I found some old lsp to do the other half of the problem I was trying to solve &lt;A target="_self" href="http://www.theswamp.org/index.php?topic=39006.new#new"&gt;here&lt;/A&gt;&amp;nbsp;that I should be able to modify with some lsp I already have to save a view with a layersnapshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like doing it in .net is just to tricky and time consuming at this stage.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 08:44:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-do-you-save-a-layer-snapshot-with-a-view/m-p/3900534#M49784</guid>
      <dc:creator>ralstogj</dc:creator>
      <dc:date>2013-05-01T08:44:32Z</dc:date>
    </item>
  </channel>
</rss>

