<?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: How to set the same property for all elements in a project? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-same-property-for-all-elements-in-a-project/m-p/398027#M8580</link>
    <description>&lt;P&gt;If you are asking how to embed a company ID code into each element for some sort of tracking purpose, I’ll leave that to others. &amp;nbsp;If you are looking to use standardized alpha/numeric codes to standardize different elements and objects: have you tried creating a property group using the Property Manager? &amp;nbsp;I’ve set this up on projects to identified pre-set specs (mostly F&amp;amp;E, but can apply to elements) to coordinate with other team members. &amp;nbsp;Within the property group you have the option to add all manner of properties related to each other under that group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 05:31:43 GMT</pubDate>
    <dc:creator>Marc H</dc:creator>
    <dc:date>2023-09-13T05:31:43Z</dc:date>
    <item>
      <title>How to set the same property for all elements in a project?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-same-property-for-all-elements-in-a-project/m-p/397456#M8504</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create an identical attribute for all elements in the project to set a custom ID of my&amp;nbsp;company.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;I learn&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;how to add a String attribute to a selected element &lt;SPAN&gt;through the Property_Test example.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;But only elements can be selected,&amp;nbsp;and an attribute can be set to a certain type of element. If I want to set the same attribute to other types of elements, an error message will be generated.&amp;nbsp;It is&amp;nbsp;APIERR_NAMEALREADYUSED. I learned that this was because I set the same property name.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;For example, if I select a wall, I set a custom ID for all the walls, but if I select the door and set the custom ID, I get the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to set the same property custom ID to all the elements in the project without having to select a particular element, please give me some help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Newbie Allen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:59:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-same-property-for-all-elements-in-a-project/m-p/397456#M8504</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2024-09-17T10:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the same property for all elements in a project?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-same-property-for-all-elements-in-a-project/m-p/398027#M8580</link>
      <description>&lt;P&gt;If you are asking how to embed a company ID code into each element for some sort of tracking purpose, I’ll leave that to others. &amp;nbsp;If you are looking to use standardized alpha/numeric codes to standardize different elements and objects: have you tried creating a property group using the Property Manager? &amp;nbsp;I’ve set this up on projects to identified pre-set specs (mostly F&amp;amp;E, but can apply to elements) to coordinate with other team members. &amp;nbsp;Within the property group you have the option to add all manner of properties related to each other under that group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 05:31:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-same-property-for-all-elements-in-a-project/m-p/398027#M8580</guid>
      <dc:creator>Marc H</dc:creator>
      <dc:date>2023-09-13T05:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the same property for all elements in a project?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-same-property-for-all-elements-in-a-project/m-p/398030#M8581</link>
      <description>&lt;P&gt;Hi, Marc&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT&gt;Thanks for your suggestion, I have implemented my idea through &lt;STRONG&gt;ACAPI_ElementList_AddProperty&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm working on the next problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll come back and ask questions if it hasn't worked out for a while.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 05:46:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-set-the-same-property-for-all-elements-in-a-project/m-p/398030#M8581</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-09-13T05:46:47Z</dc:date>
    </item>
  </channel>
</rss>

