<?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 APIStory_InsAbove bug ? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/APIStory-InsAbove-bug/m-p/272281#M3522</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;This command creates a story with wrong heigh ( as height of the previous story) and changes the previous story height (as height of the command parameter).&lt;BR /&gt;&lt;BR /&gt;Environment_Control Example:&lt;BR /&gt;"Add a Story" menu test command adds a new story with 3210 height.&lt;BR /&gt;&lt;BR /&gt;Before: Ater:&lt;/DIV&gt;</description>
    <pubDate>Tue, 04 Oct 2022 14:47:33 GMT</pubDate>
    <dc:creator>Oleg</dc:creator>
    <dc:date>2022-10-04T14:47:33Z</dc:date>
    <item>
      <title>APIStory_InsAbove bug ?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIStory-InsAbove-bug/m-p/272281#M3522</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;This command creates a story with wrong heigh ( as height of the previous story) and changes the previous story height (as height of the command parameter).&lt;BR /&gt;&lt;BR /&gt;Environment_Control Example:&lt;BR /&gt;"Add a Story" menu test command adds a new story with 3210 height.&lt;BR /&gt;&lt;BR /&gt;Before: Ater:&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:47:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIStory-InsAbove-bug/m-p/272281#M3522</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2022-10-04T14:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: APIStory_InsAbove bug ?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIStory-InsAbove-bug/m-p/272282#M3523</link>
      <description>Hi Oleg,&lt;BR /&gt;
&lt;BR /&gt;
APIStory_InsAbove action inserts a new story X meters above the given story.&lt;BR /&gt;
So the given height will be set for the already existing story.&lt;BR /&gt;
&lt;BR /&gt;
It's not a bug, but you're right that the documentation is ambiguous, it should be more clear.&lt;BR /&gt;
&lt;BR /&gt;
Note, you can modify the height of any stories by using APIStory_SetHeight action.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Tibor</description>
      <pubDate>Sat, 22 Dec 2018 19:33:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIStory-InsAbove-bug/m-p/272282#M3523</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2018-12-22T19:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: APIStory_InsAbove bug ?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIStory-InsAbove-bug/m-p/272283#M3524</link>
      <description>I understand you're not considering this a bug. &lt;BR /&gt;
I will now consider this as a feature.&lt;BR /&gt;
&lt;BR /&gt;
But In my opinion, it is inconvenient and wrong. &lt;BR /&gt;
BTW, APIStory_InsBelow works other way, AC16 and early APIStory_InsAbove worked other way&lt;BR /&gt;
&lt;BR /&gt;
Imagine a typical usage scenario: I need to create a new story with a known height.&lt;BR /&gt;
If I will use the a APIStory_InsBelow, it will be single clean call. One notification after operation.&lt;BR /&gt;
If I will use the a APIStory_InsAbove, i need to use a trick:&lt;BR /&gt;
- to get the existing story height&lt;BR /&gt;
- to call APIStory_InsAbove with this heigth ( to keep existing story height, else it will be broken )&lt;BR /&gt;
- to call APIStory_SetHeight to fix the created story height</description>
      <pubDate>Sun, 23 Dec 2018 06:14:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIStory-InsAbove-bug/m-p/272283#M3524</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2018-12-23T06:14:27Z</dc:date>
    </item>
  </channel>
</rss>

