<?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: Layout name returned with layout number? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-name-returned-with-layout-number/m-p/149428#M6142</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
API_LayoutInfo has the Boolean member ‘doNotIncludeInNumbering’.&lt;BR /&gt;
If ‘doNotIncludeInNumbering’ is true layoutName include the number, if false layoutName is only the Name. &lt;BR /&gt;
&lt;BR /&gt;
Manipulate your string using ‘doNotIncludeInNumbering’ value, ‘customLayoutNumber’ and ‘customLayoutNumbering” or go to layout book select the checkbox “Do not include this Layout in ID sequence”.</description>
    <pubDate>Wed, 22 Dec 2010 01:09:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-12-22T01:09:56Z</dc:date>
    <item>
      <title>Layout name returned with layout number?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-name-returned-with-layout-number/m-p/149427#M6141</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I am trying to retrieve a list of all the layout names, but I get the layout number included with the name. My code looks something like this&lt;BR /&gt;&lt;BR /&gt;for (GSIndex i = 0; i &amp;lt; nDbases; i++) {&lt;BR /&gt;API_DatabaseInfo dbPars;&lt;BR /&gt;BNZeroMemory (&amp;amp;dbPars, sizeof (API_DatabaseInfo));&lt;BR /&gt;dbPars.databaseUnId = dbases&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;;&lt;BR /&gt;&lt;BR /&gt;if (ACAPI_Database (APIDb_GetDatabaseInfoID, &amp;amp;dbPars, NULL) == NoError) { &lt;BR /&gt;API_LayoutInfo layoutSets;&lt;BR /&gt;if (ACAPI_Environment (APIEnv_GetLayoutSetsID, &amp;amp;layoutSets, &amp;amp;dbPars.databaseUnId, NULL) == NoError) {&lt;BR /&gt;DBPrintf ("Layout Name-------------------------------------: %s\n", layoutSets.layoutName);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas on what I need to change? TIA.&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 08:33:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-name-returned-with-layout-number/m-p/149427#M6141</guid>
      <dc:creator>Ben Cohen</dc:creator>
      <dc:date>2023-08-03T08:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Layout name returned with layout number?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-name-returned-with-layout-number/m-p/149428#M6142</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
API_LayoutInfo has the Boolean member ‘doNotIncludeInNumbering’.&lt;BR /&gt;
If ‘doNotIncludeInNumbering’ is true layoutName include the number, if false layoutName is only the Name. &lt;BR /&gt;
&lt;BR /&gt;
Manipulate your string using ‘doNotIncludeInNumbering’ value, ‘customLayoutNumber’ and ‘customLayoutNumbering” or go to layout book select the checkbox “Do not include this Layout in ID sequence”.</description>
      <pubDate>Wed, 22 Dec 2010 01:09:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-name-returned-with-layout-number/m-p/149428#M6142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-22T01:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Layout name returned with layout number?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-name-returned-with-layout-number/m-p/149429#M6143</link>
      <description>Thanks Ranga&lt;BR /&gt;
&lt;BR /&gt;
I should of clicked to that!. You've helped me heaps. Thanks for the reply and have a good Xmas &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 23 Dec 2010 07:54:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-name-returned-with-layout-number/m-p/149429#M6143</guid>
      <dc:creator>Ben Cohen</dc:creator>
      <dc:date>2010-12-23T07:54:20Z</dc:date>
    </item>
  </channel>
</rss>

