<?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: Adding properties to Library Part in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/396003#M1042</link>
    <description>&lt;P&gt;Not that I know much about API stuff but ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Objects are elements, so ACAPI_Element should work there.&lt;/P&gt;
&lt;P&gt;However, individual types of objects may be another matter.&lt;/P&gt;
&lt;P&gt;They do have sub-types, maybe you can inquire those?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Aug 2023 08:44:34 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2023-08-24T08:44:34Z</dc:date>
    <item>
      <title>Adding properties to Library Part</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/394939#M1038</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am importing a .gsm file and create a library part for it. I tried to insert additional data in the parameters section, however some gsm files are password protected and I cannot access that section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to attach classification to the library part and add properties there? What is the best approach to add these additional properties to the library part?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 08:54:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/394939#M1038</guid>
      <dc:creator>kolioi</dc:creator>
      <dc:date>2023-08-15T08:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding properties to Library Part</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/395872#M1040</link>
      <description>&lt;P&gt;Yes, of course,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;go to options --&amp;gt; property manager, if needed you should make a group or else make a parameter in one of the existing groups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the value definition you can specify the type of data, and default value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;underneath, the availability for classifications is the most important.&lt;/P&gt;&lt;P&gt;This says which elements should have this parameter shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The quick and dirty way is too just say all, but that makes Archicad quite heavy as it has to load parameters for every single element in your project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The better way to select on custom and click edit.&lt;/P&gt;&lt;P&gt;--&amp;gt; A popup will be opened asking which classification and which sub category the parameter have to have…&lt;/P&gt;&lt;P&gt;--&amp;gt;&amp;nbsp; in your project, you select the objects which you want to add more information.&lt;/P&gt;&lt;P&gt;--&amp;gt; you need to go to the classification and properties and turn on the specific classification and select the subcategory.&lt;/P&gt;&lt;P&gt;--&amp;gt; once that is done, you will automatically have the parameters underneath classifications (where the properties are shown) added.&lt;/P&gt;&lt;P&gt;--&amp;gt; and you can add the information you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully, this answers your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 13:40:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/395872#M1040</guid>
      <dc:creator>Bawar Tanay</dc:creator>
      <dc:date>2023-08-23T13:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding properties to Library Part</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/395994#M1041</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/31876"&gt;@Bawar Tanay&lt;/a&gt;&amp;nbsp;for the comprehensive answer but I want to do that programmatically, in the plugin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I understand from the documentation, classifications apply to attributes and elements only, not to library parts. There are &lt;A href="https://archicadapi.graphisoft.com/documentation/classifications" target="_self"&gt;ACAPI_Element_&lt;/A&gt;&amp;nbsp;and &lt;A href="https://archicadapi.graphisoft.com/documentation/classifications" target="_self"&gt;ACAPI_Attribute_&lt;/A&gt;&amp;nbsp;sets of functions but nothing about library parts, is that correct?&lt;/P&gt;&lt;P&gt;Regarding the storage of the custom data, we can save it in a project data section (see &lt;A href="https://archicadapi.graphisoft.com/documentation/moduldata-manager" target="_self"&gt;ModulData Manager&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 08:06:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/395994#M1041</guid>
      <dc:creator>kolioi</dc:creator>
      <dc:date>2023-08-24T08:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding properties to Library Part</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/396003#M1042</link>
      <description>&lt;P&gt;Not that I know much about API stuff but ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Objects are elements, so ACAPI_Element should work there.&lt;/P&gt;
&lt;P&gt;However, individual types of objects may be another matter.&lt;/P&gt;
&lt;P&gt;They do have sub-types, maybe you can inquire those?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 08:44:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/396003#M1042</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-08-24T08:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding properties to Library Part</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/396036#M1043</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7331"&gt;@Barry Kelly&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, if we create an instance of the library part (i.e. element - door, window, chair, etc.) then we can attach classifications and properties to it.&lt;/P&gt;&lt;P&gt;This is what I want to do - create a library part and if the gsm file is not protected w/ a password, add the custom data in some section (add it in the parameters section or create new section). Then, when I open the Settings dialog I can see my data in Custom Settings. However, I can not do this if there is a password. So I am trying to find a workaround. I want to add classifications and properties to the library part but so far w/o any success. And here I need some help - at least I want to know if that is possible. However when I create an object (element) of that part I can easily add properties to it.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 10:32:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/396036#M1043</guid>
      <dc:creator>kolioi</dc:creator>
      <dc:date>2023-08-24T10:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding properties to Library Part</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/396071#M1044</link>
      <description>&lt;P&gt;I wouldn't have thought a password protected object would stop you applying classifications and properties as they have nothing to do with the GDL scripts.&lt;/P&gt;
&lt;P&gt;Classification is added based on the default setting of the tool as you place the element, and properties are added based on the classification set.&lt;/P&gt;
&lt;P&gt;I have no idea if you can control that with an API before you place the object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 12:40:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-properties-to-Library-Part/m-p/396071#M1044</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-08-24T12:40:09Z</dc:date>
    </item>
  </channel>
</rss>

