<?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 get psltscale system variables of the specified layout in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-psltscale-system-variables-of-the-specified-layout/m-p/11955848#M1753</link>
    <description>&lt;P&gt;Thank you for your reply, I'll try it.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 01:34:09 GMT</pubDate>
    <dc:creator>adn019LKFW</dc:creator>
    <dc:date>2023-05-11T01:34:09Z</dc:date>
    <item>
      <title>How to get psltscale system variables of the specified layout</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-psltscale-system-variables-of-the-specified-layout/m-p/11953658#M1751</link>
      <description>&lt;P&gt;In the example drawing,&amp;nbsp;psltscale of "layout1" is 1, and&amp;nbsp;psltscale of "layout2" is 0. What is the correct way to get the psltscale in the specified layout. Function AcDbDatabase::psltscale() does not provide parameter for specifying layout or modelspace.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 07:48:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-psltscale-system-variables-of-the-specified-layout/m-p/11953658#M1751</guid>
      <dc:creator>adn019LKFW</dc:creator>
      <dc:date>2023-05-10T07:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get psltscale system variables of the specified layout</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-psltscale-system-variables-of-the-specified-layout/m-p/11953983#M1752</link>
      <description>&lt;P&gt;I think the only possible way without switching the layout is to analyze the DXF data of the &lt;FONT face="courier new,courier"&gt;AcDbLayout&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Here are screenshots of ArxDbg's command SNOOPDB:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LayoutPsltscale.png" style="width: 733px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1212672i4394EF2D20BC63E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="LayoutPsltscale.png" alt="LayoutPsltscale.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can retrieve the DXF resbuf list like this:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;AcDbDatabase *pDB = acdbHostApplicationServices()-&amp;gt;workingDatabase();
AcDbObjectId idLayoutDict(pDB-&amp;gt;layoutDictionaryId());
ads_name dict;
acdbGetAdsName(dict, idLayoutDict);

struct resbuf* rb = acdbDictSearch(dict, L"Layout1", 0);
if (rb)	{
	// find 100, "AcDbLayout", 1, "Layout1", 70 and get the int value
	acutRelRb(rb);
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 10:17:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-psltscale-system-variables-of-the-specified-layout/m-p/11953983#M1752</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2023-05-10T10:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get psltscale system variables of the specified layout</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-psltscale-system-variables-of-the-specified-layout/m-p/11955848#M1753</link>
      <description>&lt;P&gt;Thank you for your reply, I'll try it.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 01:34:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-psltscale-system-variables-of-the-specified-layout/m-p/11955848#M1753</guid>
      <dc:creator>adn019LKFW</dc:creator>
      <dc:date>2023-05-11T01:34:09Z</dc:date>
    </item>
  </channel>
</rss>

