<?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: Proper way of adding a property value to single attribut in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288709#M5229</link>
    <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;
Ralph is right, properties are not available (yet &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; ) for attributes.
&lt;/BLOCKQUOTE&gt;

Favorite teaser, really looking forward to properties on EVERYTHING, including stories, fills, pens and layouts. Basically replacing whatever scheme or text driven information field across ArchiCAD  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
    <pubDate>Tue, 02 Oct 2018 19:12:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-02T19:12:36Z</dc:date>
    <item>
      <title>Proper way of adding a property value to single attribute</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288705#M5225</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello again,&lt;BR /&gt;&lt;BR /&gt;I'm struggling with the following situation:&lt;BR /&gt;&lt;BR /&gt;1. I create a new group and new string property which I will use to put website url in it.&lt;BR /&gt;&lt;BR /&gt;2. I create a new building material and make the new property available for it.&lt;BR /&gt;&lt;BR /&gt;3. ( This is the problem step ) I want to assign the url value to that new building material which I created.&lt;BR /&gt;&lt;BR /&gt;I'm reading about the &lt;STRONG&gt;ACAPI_​Element_​SetProperties()&lt;/STRONG&gt;, which sets the properties, but the first parameter is &lt;STRONG&gt;elemGuid&lt;/STRONG&gt;, which is not the building material guid, because when I try to pass it I get this error: &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;The passed identifier is not a valid one, or valid, but not proper for the given operation.&lt;BR /&gt;&lt;BR /&gt;So what's the proper way to set the property value to a particular building material ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, Julian&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:06:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288705#M5225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T13:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way of adding a property value to single attribut</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288706#M5226</link>
      <description>As far as my understanding goes the new property is set for the whole group in which belongs the new attribute which I created. Is there any way that I could set a different default value for each new attribute, before the element is even created ?</description>
      <pubDate>Mon, 05 Jun 2017 14:26:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288706#M5226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-05T14:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way of adding a property value to single attribut</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288707#M5227</link>
      <description>&lt;BLOCKQUOTE&gt;jcimentarov wrote:&lt;BR /&gt;3. ( This is the problem step ) I want to assign the url value to that new building material which I created.&lt;BR /&gt;
I'm reading about the &lt;B&gt;ACAPI_​Element_​SetProperties()&lt;/B&gt;, which sets the properties, but the first parameter is &lt;B&gt;elemGuid&lt;/B&gt;, which is not the building material guid, because when I try to pass it I get this error: &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;The passed identifier is not a valid one, or valid, but not proper for the given operation.&lt;E&gt;&lt;/E&gt;&lt;/BLOCKQUOTE&gt;
I might be misunderstanding, but are you trying to add properties to a building material? If so, that isn't currently supported – properties can only be assigned to elements (hence the command name &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_​Element_​SetProperties&lt;E&gt;&lt;/E&gt;).</description>
      <pubDate>Tue, 06 Jun 2017 10:31:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288707#M5227</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2017-06-06T10:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way of adding a property value to single attribut</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288708#M5228</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
I might be misunderstanding, but are you trying to add properties to a building material? If so, that isn't currently supported – properties can only be assigned to elements (hence the command name &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_​Element_​SetProperties&lt;E&gt;&lt;/E&gt;).&lt;/BLOCKQUOTE&gt;

Ralph is right, properties are not available (yet &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; ) for attributes.&lt;BR /&gt;
&lt;BR /&gt;
You can solve this for the current version by adding your own data to the attributes (ACAPI_Attribute_SetUserData ()) and provide your own UI for that (ACAPI_Register_AttributePanel ()).&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Fri, 09 Jun 2017 02:54:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288708#M5228</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2017-06-09T02:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way of adding a property value to single attribut</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288709#M5229</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;
Ralph is right, properties are not available (yet &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; ) for attributes.
&lt;/BLOCKQUOTE&gt;

Favorite teaser, really looking forward to properties on EVERYTHING, including stories, fills, pens and layouts. Basically replacing whatever scheme or text driven information field across ArchiCAD  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:12:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Proper-way-of-adding-a-property-value-to-single-attribute/m-p/288709#M5229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-02T19:12:36Z</dc:date>
    </item>
  </channel>
</rss>

