<?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 Re: Global Variables in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276672#M5131</link>
    <description>&lt;BLOCKQUOTE&gt;poco2013 wrote:&lt;BR /&gt;Just wondering if it would be possible to create a series of global variables or properties which could be accessible by any other ADD-Ons and exist for the life of the Plan? &lt;BR /&gt;
&lt;BR /&gt;
If so, could those same global properties be used to reference that info within a standard schedule? &lt;BR /&gt;
&lt;BR /&gt;
The purpose of such "global" properties would be to accumulate such plan wide information such as area analysis , quantities, costs. etc. etc.&lt;/BLOCKQUOTE&gt;
I don't think it's possible for an add-on to create project-based data that can be directly accessed by other add-ons. And it wouldn't be safe for multiple add-ons to modify that data without a common mechanism to manage it.&lt;BR /&gt;
&lt;BR /&gt;
An add-on could provide access to the data via an external command or service, i.e. other add-ons could call it to get/set data if it provided a published command set.&lt;BR /&gt;
&lt;BR /&gt;
However, I don't see any way for that data to interact directly with ARCHICAD's scheduling. There is no API to inject schedule content (to my knowledge).</description>
    <pubDate>Tue, 18 Apr 2017 17:44:36 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2017-04-18T17:44:36Z</dc:date>
    <item>
      <title>Global Variables</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276671#M5130</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Just wondering if it would be possible to create a series of global variables or properties which could be accessible by any other ADD-Ons and exist for the life of the Plan? &lt;BR /&gt;&lt;BR /&gt;If so, could those same global properties be used to reference that info within a standard schedule? &lt;BR /&gt;&lt;BR /&gt;The purpose of such "global" properties would be to accumulate such plan wide information such as area analysis , quantities, costs. etc. etc.&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Jul 2023 18:52:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276671#M5130</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-07-12T18:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variables</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276672#M5131</link>
      <description>&lt;BLOCKQUOTE&gt;poco2013 wrote:&lt;BR /&gt;Just wondering if it would be possible to create a series of global variables or properties which could be accessible by any other ADD-Ons and exist for the life of the Plan? &lt;BR /&gt;
&lt;BR /&gt;
If so, could those same global properties be used to reference that info within a standard schedule? &lt;BR /&gt;
&lt;BR /&gt;
The purpose of such "global" properties would be to accumulate such plan wide information such as area analysis , quantities, costs. etc. etc.&lt;/BLOCKQUOTE&gt;
I don't think it's possible for an add-on to create project-based data that can be directly accessed by other add-ons. And it wouldn't be safe for multiple add-ons to modify that data without a common mechanism to manage it.&lt;BR /&gt;
&lt;BR /&gt;
An add-on could provide access to the data via an external command or service, i.e. other add-ons could call it to get/set data if it provided a published command set.&lt;BR /&gt;
&lt;BR /&gt;
However, I don't see any way for that data to interact directly with ARCHICAD's scheduling. There is no API to inject schedule content (to my knowledge).</description>
      <pubDate>Tue, 18 Apr 2017 17:44:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276672#M5131</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2017-04-18T17:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variables</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276673#M5132</link>
      <description>Thanks Ralph&lt;BR /&gt;
&lt;BR /&gt;
That's somewhat what I expected. But I found it useful in other programs, but -- yes- it can be a disaster if the user is not aware, particularly if multiple plans are open at the same time. &lt;BR /&gt;
&lt;BR /&gt;
Still think it would solve a number of problems if used with caution.</description>
      <pubDate>Tue, 18 Apr 2017 20:58:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276673#M5132</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2017-04-18T20:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variables</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276674#M5133</link>
      <description>&lt;BLOCKQUOTE&gt;poco2013 wrote:&lt;BR /&gt;Just wondering if it would be possible to create a series of global variables or properties which could be accessible by any other ADD-Ons and exist for the life of the Plan? &lt;BR /&gt;
&lt;BR /&gt;
If so, could those same global properties be used to reference that info within a standard schedule? &lt;BR /&gt;
&lt;BR /&gt;
The purpose of such "global" properties would be to accumulate such plan wide information such as area analysis , quantities, costs. etc. etc.&lt;/BLOCKQUOTE&gt;

If you aim for model element specific properties, then please take a look at the Properties API (new in ARCHICAD 20). These are accessible from all add-ons, can be created by one add-on, or put directly by a BIM Manager into the company template. Also, you can show them in schedules, export and import them to/from Excel, etc.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Akos</description>
      <pubDate>Fri, 21 Apr 2017 07:45:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276674#M5133</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2017-04-21T07:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variables</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276675#M5134</link>
      <description>Thanks Akos &lt;BR /&gt;
&lt;BR /&gt;
Yes --using properties, I am able to accumulate cost data for various object and summarize the same within schedules. Simply by following and a sight modification of the Property_test example in the API examples. &lt;BR /&gt;
&lt;BR /&gt;
And by using "phantom" objects with their properties used as accumulators i am am to achieve the same. But, I think,  user read/write GLOB variables would still be a more direct and understandable approach.</description>
      <pubDate>Fri, 21 Apr 2017 10:31:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Global-Variables/m-p/276675#M5134</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2017-04-21T10:31:30Z</dc:date>
    </item>
  </channel>
</rss>

