<?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 definition Default Value in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/definition-Default-Value/m-p/290804#M3639</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Just completed a snippet which changes the Default Value of some Definitions.&lt;BR /&gt;&lt;BR /&gt;I used the function ACAPI_Property_ChangePropertyDefinition, however, that function failed. i seems it has to be wrapped in a undoable callback. ACAPI_callUndoableCommand. &lt;BR /&gt;&lt;BR /&gt;As i look at the other examples in Property_Test none of the other functions need this call back, even to change the definition name. &lt;BR /&gt;&lt;BR /&gt;Wondering why this particular restriction is necessary and is there any work around if I don't need to undo?&lt;/DIV&gt;</description>
    <pubDate>Tue, 04 Oct 2022 14:35:45 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2022-10-04T14:35:45Z</dc:date>
    <item>
      <title>definition Default Value</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/definition-Default-Value/m-p/290804#M3639</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Just completed a snippet which changes the Default Value of some Definitions.&lt;BR /&gt;&lt;BR /&gt;I used the function ACAPI_Property_ChangePropertyDefinition, however, that function failed. i seems it has to be wrapped in a undoable callback. ACAPI_callUndoableCommand. &lt;BR /&gt;&lt;BR /&gt;As i look at the other examples in Property_Test none of the other functions need this call back, even to change the definition name. &lt;BR /&gt;&lt;BR /&gt;Wondering why this particular restriction is necessary and is there any work around if I don't need to undo?&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:35:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/definition-Default-Value/m-p/290804#M3639</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2022-10-04T14:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: definition Default Value</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/definition-Default-Value/m-p/290805#M3640</link>
      <description>I took a quick look and it appeared that all the property tests are called from within &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;APIMenuCommandProc_Main&lt;E&gt;&lt;/E&gt;, which embeds all these tests in &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_CallUndoableCommand&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Sat, 09 Mar 2019 21:14:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/definition-Default-Value/m-p/290805#M3640</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-03-09T21:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: definition Default Value</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/definition-Default-Value/m-p/290806#M3641</link>
      <description>Hey Ralph:&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the heads up. I would of never thought to look there.&lt;BR /&gt;
&lt;BR /&gt;
Learned something today --- Thanks</description>
      <pubDate>Sat, 09 Mar 2019 21:50:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/definition-Default-Value/m-p/290806#M3641</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2019-03-09T21:50:30Z</dc:date>
    </item>
  </channel>
</rss>

