<?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 Why Does DG::GetDialogFromId Return nullptr in ArchiCAD 27 C++ API? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-Does-DG-GetDialogFromId-Return-nullptr-in-ArchiCAD-27-C-API/m-p/661218#M10318</link>
    <description>&lt;DIV&gt;In the ArchiCAD 27 C++ API, the following function returns &lt;SPAN class=""&gt;nullptr&lt;/SPAN&gt; for some reason:&lt;BR /&gt;&lt;BR /&gt;[cpp]&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;DG::Dialog *dlg = DG::&lt;/SPAN&gt;&lt;SPAN&gt;GetDialogFromId&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(dialID);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;How can I correctly obtain a pointer to the &lt;SPAN class=""&gt;DG::Dialog&lt;/SPAN&gt; class from &lt;SPAN class=""&gt;dialID&lt;/SPAN&gt; using this function?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 May 2025 01:20:57 GMT</pubDate>
    <dc:creator>nishida_jp</dc:creator>
    <dc:date>2025-05-01T01:20:57Z</dc:date>
    <item>
      <title>Why Does DG::GetDialogFromId Return nullptr in ArchiCAD 27 C++ API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-Does-DG-GetDialogFromId-Return-nullptr-in-ArchiCAD-27-C-API/m-p/661218#M10318</link>
      <description>&lt;DIV&gt;In the ArchiCAD 27 C++ API, the following function returns &lt;SPAN class=""&gt;nullptr&lt;/SPAN&gt; for some reason:&lt;BR /&gt;&lt;BR /&gt;[cpp]&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;DG::Dialog *dlg = DG::&lt;/SPAN&gt;&lt;SPAN&gt;GetDialogFromId&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(dialID);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;How can I correctly obtain a pointer to the &lt;SPAN class=""&gt;DG::Dialog&lt;/SPAN&gt; class from &lt;SPAN class=""&gt;dialID&lt;/SPAN&gt; using this function?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 May 2025 01:20:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-Does-DG-GetDialogFromId-Return-nullptr-in-ArchiCAD-27-C-API/m-p/661218#M10318</guid>
      <dc:creator>nishida_jp</dc:creator>
      <dc:date>2025-05-01T01:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why Does DG::GetDialogFromId Return nullptr in ArchiCAD 27 C++ API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-Does-DG-GetDialogFromId-Return-nullptr-in-ArchiCAD-27-C-API/m-p/664449#M10427</link>
      <description>&lt;P&gt;Hi, The dialID should be valid, you may use&amp;nbsp;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;SPAN&gt;DGIsDialogOpen&lt;/SPAN&gt;&lt;SPAN&gt; (diallD) {} to check at first.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I noticed there are some places in API Examples code which using the same command&amp;nbsp;&lt;SPAN&gt;DG::&lt;/SPAN&gt;&lt;SPAN&gt;GetDialogFromId (), you can check whether it works on your pc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTH.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 01:37:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-Does-DG-GetDialogFromId-Return-nullptr-in-ArchiCAD-27-C-API/m-p/664449#M10427</guid>
      <dc:creator>Hiromichi Shinkawa</dc:creator>
      <dc:date>2025-06-03T01:37:56Z</dc:date>
    </item>
  </channel>
</rss>

