<?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 Interior Elevation: how to change the visible depth after CreateExt? ieCreationSegmentDepth reads ba in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Interior-Elevation-how-to-change-the-visible-depth-after/m-p/716691#M11043</link>
    <description>&lt;P&gt;Archicad 26 C++ API, Windows 11.&lt;/P&gt;&lt;P&gt;We create Interior Elevations with ACAPI_Element_CreateExt. After create we need to set the visible plan distance between the solid marker/view line and the dashed depth line. A user can drag that gap (tracker shows a millimetre). We cannot keep a value written from code.&lt;/P&gt;&lt;P&gt;Live dump of one selected Interior Elevation (id 5, name " - 01", one segment):&lt;/P&gt;&lt;P&gt;ieCreationSegmentHorizontalOffset / ieOffset = 0&lt;BR /&gt;ieCreationSegmentDepth / ieDepth = 0&lt;/P&gt;&lt;P&gt;Memo has all three bags, 2 points each:&lt;BR /&gt;sectionSegmentMainCoords = view / solid marker line&lt;BR /&gt;sectionSegmentDistCoords = marked distant, 500 mm from view&lt;BR /&gt;sectionSegmentDepthCoords = depth / dashed, 1000 mm from view&lt;/P&gt;&lt;P&gt;iePolygonEdge coincides with the depth line.&lt;BR /&gt;Live horizRange = APIHorRange_Infinite (tool default was Limited).&lt;BR /&gt;nMainCoord = nDistCoord = nDepthCoord = 2.&lt;/P&gt;&lt;P&gt;So the millimetre on screen is not the create-only scalars. It is the distance between memo coordinate polylines.&lt;/P&gt;&lt;P&gt;What already failed on similar elements:&lt;/P&gt;&lt;P&gt;1. Writing only ieCreationSegmentDepth at create: finished field 0, live gap unchanged.&lt;BR /&gt;2. ACAPI_Element_ChangeExt of dist or main coords: error -2130313112, or 0 with no keep.&lt;BR /&gt;3. APIEdit_Drag of the parent: 0, no keep.&lt;BR /&gt;4. Replaying the hand APIEdit_Stretch from GetTranParams: 0, no keep.&lt;/P&gt;&lt;P&gt;Hand drag of the isolated segment hotspot does move the line.&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. After create, is the supported way to set that gap a ChangeExt of sectionSegmentDepthCoords with memo mask APIMemoMask_SectionDepthCoords? Which subIndex: 0 or ACAPI_ELEMENT_CHANGEEXT_ALLSEGMENTS?&lt;BR /&gt;2. Must we also rewrite iePolygonEdge when it currently sits on the depth line?&lt;BR /&gt;3. Must horizRange be APIHorRange_Limited for the depth line to be writable?&lt;BR /&gt;4. Why do the create-only scalars stay 0 on Get after a successful CreateExt? Are they write-only, and if so what is the post-create write?&lt;BR /&gt;5. Markers cannot be changed alone. We already follow that. Does the depth line still require ChangeExt of the parent Interior Elevation together with the marker objects?&lt;/P&gt;&lt;P&gt;We can attach a full segment dump if useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows 11&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2026 07:45:19 GMT</pubDate>
    <dc:creator>rabo44ka</dc:creator>
    <dc:date>2026-10-07T07:45:19Z</dc:date>
    <item>
      <title>Interior Elevation: how to change the visible depth after CreateExt? ieCreationSegmentDepth reads ba</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Interior-Elevation-how-to-change-the-visible-depth-after/m-p/716691#M11043</link>
      <description>&lt;P&gt;Archicad 26 C++ API, Windows 11.&lt;/P&gt;&lt;P&gt;We create Interior Elevations with ACAPI_Element_CreateExt. After create we need to set the visible plan distance between the solid marker/view line and the dashed depth line. A user can drag that gap (tracker shows a millimetre). We cannot keep a value written from code.&lt;/P&gt;&lt;P&gt;Live dump of one selected Interior Elevation (id 5, name " - 01", one segment):&lt;/P&gt;&lt;P&gt;ieCreationSegmentHorizontalOffset / ieOffset = 0&lt;BR /&gt;ieCreationSegmentDepth / ieDepth = 0&lt;/P&gt;&lt;P&gt;Memo has all three bags, 2 points each:&lt;BR /&gt;sectionSegmentMainCoords = view / solid marker line&lt;BR /&gt;sectionSegmentDistCoords = marked distant, 500 mm from view&lt;BR /&gt;sectionSegmentDepthCoords = depth / dashed, 1000 mm from view&lt;/P&gt;&lt;P&gt;iePolygonEdge coincides with the depth line.&lt;BR /&gt;Live horizRange = APIHorRange_Infinite (tool default was Limited).&lt;BR /&gt;nMainCoord = nDistCoord = nDepthCoord = 2.&lt;/P&gt;&lt;P&gt;So the millimetre on screen is not the create-only scalars. It is the distance between memo coordinate polylines.&lt;/P&gt;&lt;P&gt;What already failed on similar elements:&lt;/P&gt;&lt;P&gt;1. Writing only ieCreationSegmentDepth at create: finished field 0, live gap unchanged.&lt;BR /&gt;2. ACAPI_Element_ChangeExt of dist or main coords: error -2130313112, or 0 with no keep.&lt;BR /&gt;3. APIEdit_Drag of the parent: 0, no keep.&lt;BR /&gt;4. Replaying the hand APIEdit_Stretch from GetTranParams: 0, no keep.&lt;/P&gt;&lt;P&gt;Hand drag of the isolated segment hotspot does move the line.&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. After create, is the supported way to set that gap a ChangeExt of sectionSegmentDepthCoords with memo mask APIMemoMask_SectionDepthCoords? Which subIndex: 0 or ACAPI_ELEMENT_CHANGEEXT_ALLSEGMENTS?&lt;BR /&gt;2. Must we also rewrite iePolygonEdge when it currently sits on the depth line?&lt;BR /&gt;3. Must horizRange be APIHorRange_Limited for the depth line to be writable?&lt;BR /&gt;4. Why do the create-only scalars stay 0 on Get after a successful CreateExt? Are they write-only, and if so what is the post-create write?&lt;BR /&gt;5. Markers cannot be changed alone. We already follow that. Does the depth line still require ChangeExt of the parent Interior Elevation together with the marker objects?&lt;/P&gt;&lt;P&gt;We can attach a full segment dump if useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows 11&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2026 07:45:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Interior-Elevation-how-to-change-the-visible-depth-after/m-p/716691#M11043</guid>
      <dc:creator>rabo44ka</dc:creator>
      <dc:date>2026-10-07T07:45:19Z</dc:date>
    </item>
  </channel>
</rss>

