<?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: PublishTest in Navigator_test not working? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250746#M3066</link>
    <description>&lt;BLOCKQUOTE&gt;Mihály wrote:&lt;BR /&gt;
Hello,&lt;BR /&gt;
&lt;BR /&gt;
do you think &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;static void UpdateTree&lt;E&gt;&lt;/E&gt; function in NavigatorPalette.cpp? If you do then this function update the tree in Navigator Test palette. You can see it by yourself:
&lt;LIST type="decimal"&gt;&lt;S&gt;&lt;UL&gt;&lt;LI&gt;Navigator Test's pop-up (at the top) set to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Project Map&lt;E&gt;&lt;/E&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Go to 'Project name'/Elevations in palette's tree&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Create an elevation in 2D view with Elevation Tool (it is in Toolbox)&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;If you check the palette's tree you don't see the new elevation only if you click on Update button&lt;/LI&gt;&lt;/UL&gt;

I hope my answer is useful for you.
&lt;/S&gt;&lt;/LIST&gt;&lt;/BLOCKQUOTE&gt;

Yep, I now understand what it should do. Thanks!! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
I’m looking for a way to update the layout book through API (like right-clicking layout book and choosing update)</description>
    <pubDate>Thu, 05 Sep 2019 06:52:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-05T06:52:32Z</dc:date>
    <item>
      <title>PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250740#M3060</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to use publishtest from Navigator_test example. It is not working for me and I saw that the first If in it false - so it really shouldn’t work.. the question is why the “selected” variable isn’t valid..&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Edit: I understood that I should use this example with the palette.. but does anyone have any idea of what should the “update tree” void in this example do?&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:24:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250740#M3060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-04T14:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250741#M3061</link>
      <description>Just to get the obvious out of the way first, do you have something relevant selected in the Navigator palette when you test this function?</description>
      <pubDate>Tue, 27 Aug 2019 11:34:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250741#M3061</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-08-27T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250742#M3062</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
Just to get the obvious out of the way first, do you have something relevant selected in the Navigator palette when you test this function?
&lt;/BLOCKQUOTE&gt;

Yes, I have a publisher set selected. As I said, I also tried to print something after if(selected!=DG_TVI_NONE) and nothing print, so it didn’t even got something vaild into “selected” variable&lt;BR /&gt;
&lt;BR /&gt;
Update:&lt;BR /&gt;
I am trying to use PublishTest function on Archicad’s navigator and not on the navigator window of the example, but I’m unable to get guid of navigator. How do I do that?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!!</description>
      <pubDate>Tue, 27 Aug 2019 14:32:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250742#M3062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-27T14:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250743#M3063</link>
      <description>I think that's likely to be the wrong approach. If I remember correctly, that example builds its own palette showing the navigator hierarchy, so the tree view and displayed items all belong to that add-on. I don't believe you can use that approach with palettes that belong to ARCHICAD, and I'm not aware of an API call to tell you which items are selected either. Possibly someone from GS might have a suggestion.</description>
      <pubDate>Wed, 28 Aug 2019 08:58:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250743#M3063</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-08-28T08:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250744#M3064</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
I think that's likely to be the wrong approach. If I remember correctly, that example builds its own palette showing the navigator hierarchy, so the tree view and displayed items all belong to that add-on. I don't believe you can use that approach with palettes that belong to ARCHICAD, and I'm not aware of an API call to tell you which items are selected either. Possibly someone from GS might have a suggestion.
&lt;/BLOCKQUOTE&gt;

Yea I also guess my approach was wrong. &lt;BR /&gt;
&lt;BR /&gt;
Do you have an idea of what should the “update tree” void do? It doesn’t update anything by what I’m seeing..&lt;BR /&gt;
Thanks!</description>
      <pubDate>Wed, 28 Aug 2019 11:51:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250744#M3064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-28T11:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250745#M3065</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
do you think &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;static void UpdateTree&lt;E&gt;&lt;/E&gt; function in NavigatorPalette.cpp? If you do then this function update the tree in Navigator Test palette. You can see it by yourself:
&lt;LIST type="decimal"&gt;&lt;S&gt;&lt;UL&gt;&lt;LI&gt;Navigator Test's pop-up (at the top) set to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Project Map&lt;E&gt;&lt;/E&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Go to 'Project name'/Elevations in palette's tree&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Create an elevation in 2D view with Elevation Tool (it is in Toolbox)&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;If you check the palette's tree you don't see the new elevation only if you click on Update button&lt;/LI&gt;&lt;/UL&gt;

I hope my answer is useful for you.&lt;/S&gt;&lt;/LIST&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:44:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250745#M3065</guid>
      <dc:creator>Mihaly Palenik</dc:creator>
      <dc:date>2019-09-04T12:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250746#M3066</link>
      <description>&lt;BLOCKQUOTE&gt;Mihály wrote:&lt;BR /&gt;
Hello,&lt;BR /&gt;
&lt;BR /&gt;
do you think &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;static void UpdateTree&lt;E&gt;&lt;/E&gt; function in NavigatorPalette.cpp? If you do then this function update the tree in Navigator Test palette. You can see it by yourself:
&lt;LIST type="decimal"&gt;&lt;S&gt;&lt;UL&gt;&lt;LI&gt;Navigator Test's pop-up (at the top) set to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Project Map&lt;E&gt;&lt;/E&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Go to 'Project name'/Elevations in palette's tree&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Create an elevation in 2D view with Elevation Tool (it is in Toolbox)&lt;/LI&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;If you check the palette's tree you don't see the new elevation only if you click on Update button&lt;/LI&gt;&lt;/UL&gt;

I hope my answer is useful for you.
&lt;/S&gt;&lt;/LIST&gt;&lt;/BLOCKQUOTE&gt;

Yep, I now understand what it should do. Thanks!! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
I’m looking for a way to update the layout book through API (like right-clicking layout book and choosing update)</description>
      <pubDate>Thu, 05 Sep 2019 06:52:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/250746#M3066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-05T06:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: PublishTest in Navigator_test not working?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/332048#M3067</link>
      <description>&lt;P&gt;&lt;EM&gt;"I’m looking for a way to update the layout book through API"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am searching for the same solution.&amp;nbsp; What API calls did you end up using?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for any help...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;chris&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 17:13:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/PublishTest-in-Navigator-test-not-working/m-p/332048#M3067</guid>
      <dc:creator>MudratDetector</dc:creator>
      <dc:date>2022-03-11T17:13:09Z</dc:date>
    </item>
  </channel>
</rss>

