<?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: Python question in Archicad Python API</title>
    <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232681#M751</link>
    <description>There seems currently no way to get that information?!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
If you see at the list of all available properties: the Bmat ain't one of it.</description>
    <pubDate>Sun, 20 Dec 2020 13:32:19 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2020-12-20T13:32:19Z</dc:date>
    <item>
      <title>Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232680#M750</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;No python forum yet so I post here instead.&lt;BR /&gt;I had a look at the example script "Excel File Exporter" and would like to add some building material properties but I don't understand the syntax. The property is for example:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;UserDefinedPropertyUserId {'localizedName': ['GENERELLA (Byggmaterial)', 'Densitet'], 'type': 'UserDefined'}&lt;/PRE&gt;
&lt;BR /&gt;I don't know how to get this one to work.&lt;BR /&gt;&lt;BR /&gt;I look at the example with builtin property and as an example:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;act.BuiltInPropertyUserId("General_Thickness")&lt;/PRE&gt;
&lt;BR /&gt;Obviously, I need to add a bit more for the user-defined property but I don't know the syntax? I basically want to export the density and CO2 of the BM's used in the model.&lt;BR /&gt;Br,&lt;BR /&gt;Mats&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:36:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232680#M750</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2021-09-14T11:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232681#M751</link>
      <description>There seems currently no way to get that information?!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
If you see at the list of all available properties: the Bmat ain't one of it.</description>
      <pubDate>Sun, 20 Dec 2020 13:32:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232681#M751</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-12-20T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232682#M752</link>
      <description>&lt;BLOCKQUOTE&gt;runxel wrote:&lt;BR /&gt;
There seems currently no way to get that information?!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
If you see at the list of all available properties: the Bmat ain't one of it.
&lt;/BLOCKQUOTE&gt;

So what does this mean?</description>
      <pubDate>Mon, 21 Dec 2020 08:00:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232682#M752</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-12-21T08:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232683#M753</link>
      <description>&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;
&lt;BR /&gt;
So what does this mean?
&lt;/BLOCKQUOTE&gt;

That are the user defined PROPERTIES. They are (of course) localized and you can access them directly by the name you have set.&lt;BR /&gt;
This means, you could do a new property and set the bmat there, again. Seems like this is the only way at the moment. Not a nice one, tho.</description>
      <pubDate>Mon, 21 Dec 2020 09:04:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232683#M753</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-12-21T09:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232684#M754</link>
      <description>&lt;BLOCKQUOTE&gt;runxel wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;
&lt;BR /&gt;
So what does this mean?
&lt;/BLOCKQUOTE&gt;

That are the user defined PROPERTIES. They are (of course) localized and you can access them directly by the name you have set.&lt;BR /&gt;
This means, you could do a new property and set the bmat there, again. Seems like this is the only way at the moment. Not a nice one, tho.
&lt;/BLOCKQUOTE&gt;

I want to export BM properties to excel.</description>
      <pubDate>Mon, 21 Dec 2020 12:41:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232684#M754</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-12-21T12:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232685#M755</link>
      <description>&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;
&lt;BR /&gt;
I want to export BM properties to excel.
&lt;/BLOCKQUOTE&gt;

Yeah I think you can't do that with Python at the moment.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 21 Dec 2020 13:40:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232685#M755</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-12-21T13:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232686#M756</link>
      <description>&lt;BLOCKQUOTE&gt;runxel wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;Mats_Knutsson wrote:&lt;BR /&gt;
&lt;BR /&gt;
I want to export BM properties to excel.
&lt;/BLOCKQUOTE&gt;

Yeah I think you can't do that with Python at the moment.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;
&lt;/BLOCKQUOTE&gt;

"#&amp;amp;%¤"#""#&amp;amp;¤"/#&amp;amp;... crap. Thanks anyways!</description>
      <pubDate>Mon, 21 Dec 2020 14:12:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232686#M756</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2020-12-21T14:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python question</title>
      <link>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232687#M757</link>
      <description>I have tried excel export.py, it works well, but I need to export more attributes like story number，building material :
&lt;PRE&gt;propertyUserIds = [
    act.BuiltInPropertyUserId("General_ElementID"),  #通过types对象的BuiltInPropertyUserId方法，获取梁和墙的元素ID
    act.BuiltInPropertyUserId("General_Height"),         #original
    act.BuiltInPropertyUserId("General_Width"),          #original
    act.BuiltInPropertyUserId("General_Thickness")，  #original
    act.BuiltInPropertyUserId("Story_number"),            #wrong code,I add----------------------------
    act.BuiltInPropertyUserId("Building_Material")       #wrong code,I add----------------------------
]
I want get the element's story number,building material,but this code can't work,how can I get these info?&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Jan 2021 21:35:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-Python-API/Python-question/m-p/232687#M757</guid>
      <dc:creator>Boling1</dc:creator>
      <dc:date>2021-01-18T21:35:38Z</dc:date>
    </item>
  </channel>
</rss>

