<?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 Stairs rendered with incorrect number of steps in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Stairs-rendered-with-incorrect-number-of-steps/m-p/586349#M9142</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I was trying to render a stair with custom parameters, which include fields like&lt;/P&gt;
&lt;P class=""&gt;totalHeight,&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;riserHeight&lt;/P&gt;
&lt;P class=""&gt;treadDepth&lt;/P&gt;
&lt;P class=""&gt;stepNum&lt;/P&gt;
&lt;P class=""&gt;treadNum&lt;/P&gt;
&lt;P class=""&gt;treadDepthLocked = true&lt;/P&gt;
&lt;P class=""&gt;rules&lt;SPAN class=""&gt;.&lt;/SPAN&gt;riserHeightMaxValue (same as riserHeight)&lt;/P&gt;
&lt;P class=""&gt;rules&lt;SPAN class=""&gt;.&lt;/SPAN&gt;treadDepthMaxValue (same as treadDepth)&lt;/P&gt;
&lt;P class=""&gt;rules&lt;SPAN class=""&gt;.&lt;/SPAN&gt;ruleMaxValue (2*riserHeight + treadDepth)&lt;/P&gt;
&lt;P class=""&gt;&lt;BR /&gt;After rendering the steps using ACAPI_Element_Create, stepNum, riserHeight and treadDepth will be different.&lt;BR /&gt;Now I found a quick fix for this by using edit element function&amp;nbsp;ACAPI_Element_Change.&lt;BR /&gt;I will edit stepNum, riserHeight and treadDepth fields and call&amp;nbsp;ACAPI_Element_Change, this time it will render exactly how I expect.&lt;BR /&gt;Is there any way where I can have create stair in the first go itself?&lt;BR /&gt;Also want to know more about this behaviour.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2024 12:45:27 GMT</pubDate>
    <dc:creator>roni</dc:creator>
    <dc:date>2024-09-16T12:45:27Z</dc:date>
    <item>
      <title>Stairs rendered with incorrect number of steps</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Stairs-rendered-with-incorrect-number-of-steps/m-p/586349#M9142</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I was trying to render a stair with custom parameters, which include fields like&lt;/P&gt;
&lt;P class=""&gt;totalHeight,&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;riserHeight&lt;/P&gt;
&lt;P class=""&gt;treadDepth&lt;/P&gt;
&lt;P class=""&gt;stepNum&lt;/P&gt;
&lt;P class=""&gt;treadNum&lt;/P&gt;
&lt;P class=""&gt;treadDepthLocked = true&lt;/P&gt;
&lt;P class=""&gt;rules&lt;SPAN class=""&gt;.&lt;/SPAN&gt;riserHeightMaxValue (same as riserHeight)&lt;/P&gt;
&lt;P class=""&gt;rules&lt;SPAN class=""&gt;.&lt;/SPAN&gt;treadDepthMaxValue (same as treadDepth)&lt;/P&gt;
&lt;P class=""&gt;rules&lt;SPAN class=""&gt;.&lt;/SPAN&gt;ruleMaxValue (2*riserHeight + treadDepth)&lt;/P&gt;
&lt;P class=""&gt;&lt;BR /&gt;After rendering the steps using ACAPI_Element_Create, stepNum, riserHeight and treadDepth will be different.&lt;BR /&gt;Now I found a quick fix for this by using edit element function&amp;nbsp;ACAPI_Element_Change.&lt;BR /&gt;I will edit stepNum, riserHeight and treadDepth fields and call&amp;nbsp;ACAPI_Element_Change, this time it will render exactly how I expect.&lt;BR /&gt;Is there any way where I can have create stair in the first go itself?&lt;BR /&gt;Also want to know more about this behaviour.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 12:45:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Stairs-rendered-with-incorrect-number-of-steps/m-p/586349#M9142</guid>
      <dc:creator>roni</dc:creator>
      <dc:date>2024-09-16T12:45:27Z</dc:date>
    </item>
  </channel>
</rss>

