<?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: Maintain Palette State in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/maintain-palette-state/m-p/8360617#M24428</link>
    <description>&lt;P&gt;I worked it out. Sorry, probably obvious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pallete should be loaded but it was being forced visible (ps.visible=true)&amp;nbsp;in the&amp;nbsp;LoadPalette routine &amp;nbsp;regardless of what the GUID state. If that makes any sense.&lt;/P&gt;&lt;P&gt;And, if for some reason, I wanted to disable any interaction I could check&amp;nbsp;it's&amp;nbsp;visibility state.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Oct 2018 23:39:21 GMT</pubDate>
    <dc:creator>SRSDS</dc:creator>
    <dc:date>2018-10-25T23:39:21Z</dc:date>
    <item>
      <title>Maintain Palette State</title>
      <link>https://forums.autodesk.com/t5/net-forum/maintain-palette-state/m-p/8360052#M24427</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I am loading my palette in the AutoCAD Initialize routine but I don't necessarily want it loaded if the Palette was closed in a previous instance of AutoCAD. So I'm guessing I must remove it from the AutoCAD startup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Public Sub Initialize() Implements IExtensionApplication.Initialize
        Dim pal = New PaletteClass()
        pal.LoadPalette()
    End Sub&lt;/PRE&gt;&lt;P&gt;From what I understand it gets assigned a GUID which tells AutoCAD if it should be reloaded or not on the next instance. How can I tell if it has or hasn't been loaded so that I can bypass any code interaction with a palette that may not be there?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 18:33:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/maintain-palette-state/m-p/8360052#M24427</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2018-10-25T18:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Maintain Palette State</title>
      <link>https://forums.autodesk.com/t5/net-forum/maintain-palette-state/m-p/8360617#M24428</link>
      <description>&lt;P&gt;I worked it out. Sorry, probably obvious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pallete should be loaded but it was being forced visible (ps.visible=true)&amp;nbsp;in the&amp;nbsp;LoadPalette routine &amp;nbsp;regardless of what the GUID state. If that makes any sense.&lt;/P&gt;&lt;P&gt;And, if for some reason, I wanted to disable any interaction I could check&amp;nbsp;it's&amp;nbsp;visibility state.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 23:39:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/maintain-palette-state/m-p/8360617#M24428</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2018-10-25T23:39:21Z</dc:date>
    </item>
  </channel>
</rss>

