<?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 What's the best way to create DocumentFrom3D in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/What-s-the-best-way-to-create-DocumentFrom3D/m-p/675683#M10543</link>
    <description>&lt;P&gt;I tried using &lt;STRONG&gt;ACAPI_Navigator_CloneProjectMapItemToViewMap()&lt;/STRONG&gt; to clone an existing 3D view, but I keep getting &lt;STRONG&gt;APIERR_BADDATABASE (-2130313110)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;As an alternative, I tried creating a &lt;STRONG&gt;DocumentFrom3D&lt;/STRONG&gt; view directly with &lt;STRONG&gt;ACAPI_Database_NewDatabase()&lt;/STRONG&gt;, which seems to work. I’m able to change most of the API_DocumentFrom3DType and API_DocumentFrom3DDefaults settings.&lt;/P&gt;&lt;P&gt;However, I’ve run into two issues:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;uncut surface&lt;/STRONG&gt; won’t show its own surface colour.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;sun shadow&lt;/STRONG&gt; does not appear (although the shadow contour does). I’ve also tried playing with the &lt;STRONG&gt;vectSunShadow&lt;/STRONG&gt; setting, but it makes no difference.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It looks like there might be a bug with &lt;STRONG&gt;API_3DUncutSurfaceFillType&lt;/STRONG&gt;, since I can’t set the 3D Document to API_3DDocumentMaterialColorShaded. Even after creating the DocumentFrom3D, if I switch the uncut surface to “show own surface colour” directly in Archicad, the colours still don’t display.&lt;/P&gt;&lt;P&gt;I’m confident this isn’t a graphics override or pen set issue, as I’ve checked that already.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Sep 2025 22:03:02 GMT</pubDate>
    <dc:creator>xiaopeidou</dc:creator>
    <dc:date>2025-09-03T22:03:02Z</dc:date>
    <item>
      <title>What's the best way to create DocumentFrom3D</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/What-s-the-best-way-to-create-DocumentFrom3D/m-p/675683#M10543</link>
      <description>&lt;P&gt;I tried using &lt;STRONG&gt;ACAPI_Navigator_CloneProjectMapItemToViewMap()&lt;/STRONG&gt; to clone an existing 3D view, but I keep getting &lt;STRONG&gt;APIERR_BADDATABASE (-2130313110)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;As an alternative, I tried creating a &lt;STRONG&gt;DocumentFrom3D&lt;/STRONG&gt; view directly with &lt;STRONG&gt;ACAPI_Database_NewDatabase()&lt;/STRONG&gt;, which seems to work. I’m able to change most of the API_DocumentFrom3DType and API_DocumentFrom3DDefaults settings.&lt;/P&gt;&lt;P&gt;However, I’ve run into two issues:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;uncut surface&lt;/STRONG&gt; won’t show its own surface colour.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;sun shadow&lt;/STRONG&gt; does not appear (although the shadow contour does). I’ve also tried playing with the &lt;STRONG&gt;vectSunShadow&lt;/STRONG&gt; setting, but it makes no difference.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It looks like there might be a bug with &lt;STRONG&gt;API_3DUncutSurfaceFillType&lt;/STRONG&gt;, since I can’t set the 3D Document to API_3DDocumentMaterialColorShaded. Even after creating the DocumentFrom3D, if I switch the uncut surface to “show own surface colour” directly in Archicad, the colours still don’t display.&lt;/P&gt;&lt;P&gt;I’m confident this isn’t a graphics override or pen set issue, as I’ve checked that already.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 22:03:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/What-s-the-best-way-to-create-DocumentFrom3D/m-p/675683#M10543</guid>
      <dc:creator>xiaopeidou</dc:creator>
      <dc:date>2025-09-03T22:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to create DocumentFrom3D</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/What-s-the-best-way-to-create-DocumentFrom3D/m-p/675836#M10544</link>
      <description>&lt;P&gt;I think this might be a shouldUseUncutSurfaceFill bug. It only seems to work if I set it to true directly when creating the database with ACAPI_Database_NewDatabase(). When I tried setting it to true earlier using ACAPI_View_ChangeDocumentFrom3DDefaults(), it didn’t have any effect.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 21:59:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/What-s-the-best-way-to-create-DocumentFrom3D/m-p/675836#M10544</guid>
      <dc:creator>xiaopeidou</dc:creator>
      <dc:date>2025-09-04T21:59:53Z</dc:date>
    </item>
  </channel>
</rss>

