<?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 How to get the instance of AcApLayoutManager? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-the-instance-of-acaplayoutmanager/m-p/312347#M39382</link>
    <description>I know that&lt;BR /&gt;
&lt;BR /&gt;
acdbHostApplicationServices()-&amp;gt;layoutManager()...&lt;BR /&gt;
&lt;BR /&gt;
will return the instance of AcApLayoutManager, but how do I get the instance&lt;BR /&gt;
of AcApLayoutManager so that I can call GUI functions i.e.&lt;BR /&gt;
AcApLayoutManager::pageSetup()?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Wed, 11 Sep 2002 11:19:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-09-11T11:19:39Z</dc:date>
    <item>
      <title>How to get the instance of AcApLayoutManager?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-the-instance-of-acaplayoutmanager/m-p/312347#M39382</link>
      <description>I know that&lt;BR /&gt;
&lt;BR /&gt;
acdbHostApplicationServices()-&amp;gt;layoutManager()...&lt;BR /&gt;
&lt;BR /&gt;
will return the instance of AcApLayoutManager, but how do I get the instance&lt;BR /&gt;
of AcApLayoutManager so that I can call GUI functions i.e.&lt;BR /&gt;
AcApLayoutManager::pageSetup()?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Wed, 11 Sep 2002 11:19:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-the-instance-of-acaplayoutmanager/m-p/312347#M39382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-11T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the instance of AcApLayoutManager?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-the-instance-of-acaplayoutmanager/m-p/312348#M39383</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
This is the code snippet showing how to use AcApLayoutManager and the use of&lt;BR /&gt;
AcApLayoutManager::pagesetup().&lt;BR /&gt;
&lt;BR /&gt;
AcApLayoutManager* pLM =&lt;BR /&gt;
(AcApLayoutManager*)acdbHostApplicationServices()-&amp;gt;layoutManager();&lt;BR /&gt;
AcDbBlockTableRecord* pBTR;&lt;BR /&gt;
acdbOpenAcDbObject((AcDbObject*&amp;amp;)pBTR, idObj,AcDb::kForRead);&lt;BR /&gt;
acutPrintf("\n Pagesetups: %i n:",pLM-&amp;gt;pageSetup(idObj,NULL,TRUE));&lt;BR /&gt;
AcDbObjectId layoutId = pBTR-&amp;gt;getLayoutId();&lt;BR /&gt;
pBTR-&amp;gt;close();&lt;BR /&gt;
&lt;BR /&gt;
cheers,&lt;BR /&gt;
Varadan&lt;BR /&gt;
&lt;BR /&gt;
"cadman" &lt;CADMAN&gt; wrote in message&lt;BR /&gt;
news:89C142534020E4988582773EB7D223C2@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I know that&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; acdbHostApplicationServices()-&amp;gt;layoutManager()...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; will return the instance of AcApLayoutManager, but how do I get the&lt;BR /&gt;
instance&lt;BR /&gt;
&amp;gt; of AcApLayoutManager so that I can call GUI functions i.e.&lt;BR /&gt;
&amp;gt; AcApLayoutManager::pageSetup()?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/CADMAN&gt;</description>
      <pubDate>Thu, 12 Sep 2002 21:15:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-get-the-instance-of-acaplayoutmanager/m-p/312348#M39383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-12T21:15:27Z</dc:date>
    </item>
  </channel>
</rss>

