<?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 Get IFC parameters not working for stairs in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242279#M5098</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I can use the following to get the IFC "Name" value with all elements except stairs and handrails. The n value is returned as zero. Can anyone help explain why?&lt;BR /&gt;

 &lt;PRE&gt;n = APPLICATION_QUERY ("ParentCustomParameters", "GetParameter(IFC.Attributes.Name)", value)&lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 01 Nov 2017 12:11:01 GMT</pubDate>
    <dc:creator>DGSketcher</dc:creator>
    <dc:date>2017-11-01T12:11:01Z</dc:date>
    <item>
      <title>Get IFC parameters not working for stairs</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242279#M5098</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I can use the following to get the IFC "Name" value with all elements except stairs and handrails. The n value is returned as zero. Can anyone help explain why?&lt;BR /&gt;

 &lt;PRE&gt;n = APPLICATION_QUERY ("ParentCustomParameters", "GetParameter(IFC.Attributes.Name)", value)&lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Nov 2017 12:11:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242279#M5098</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2017-11-01T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get IFC parameters not working for stairs</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242280#M5099</link>
      <description>I have also noticed this, my custom id and name/tag labels don't pick up the data, just getting round to trying to figure out why now, will let you know if I can beat it. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 06 Nov 2017 01:44:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242280#M5099</guid>
      <dc:creator>JaseBee</dc:creator>
      <dc:date>2017-11-06T01:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get IFC parameters not working for stairs</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242281#M5100</link>
      <description>Yep they changed it on us for the stairs, fortunately the new command works with everything else so just make it your default...&lt;BR /&gt;
&lt;BR /&gt;
The new command is:&lt;BR /&gt;
&lt;BR /&gt;
n = REQUEST ( "Property_Value_Of_Parent", "id", type, dim1, dim2, propertyValues)&lt;BR /&gt;
&lt;BR /&gt;
If you want the element id then replace "id" with "Main.ID", the element id is returned in the propertyValues Parameter.&lt;BR /&gt;
&lt;BR /&gt;
"IFC.Attributes.Name" for the name&lt;BR /&gt;
"IFC.Attributes.Tag" for the tag&lt;BR /&gt;
&lt;BR /&gt;
You can access all the property and classification values like this, I made a simple part to find the names that uses the command:&lt;BR /&gt;
&lt;BR /&gt;
n = REQUEST ("Properties_Of_Parent", propertyType, parentProperties)&lt;BR /&gt;
&lt;BR /&gt;
and spits out the values with a looping text2 command.&lt;BR /&gt;
&lt;BR /&gt;
Like all useful requests these do not work in the parameter script.&lt;BR /&gt;
&lt;BR /&gt;
Happy hunting.</description>
      <pubDate>Mon, 06 Nov 2017 02:25:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242281#M5100</guid>
      <dc:creator>JaseBee</dc:creator>
      <dc:date>2017-11-06T02:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get IFC parameters not working for stairs</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242282#M5101</link>
      <description>Thank you for the feedback JaseBee.&lt;BR /&gt;
&lt;BR /&gt;
I ending up rewriting my label building off the code for the current "Property Label 21" using the changed REQUEST format. This also required the introduction of UI elements, which I usually avoid, to allow drilling down to the relevant IFC values. &lt;BR /&gt;
&lt;BR /&gt;
Hopefully the rewrite is a bit more durable than the previous hacked code and seems to work with all 3D elements so far...</description>
      <pubDate>Mon, 06 Nov 2017 10:05:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242282#M5101</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2017-11-06T10:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get IFC parameters not working for stairs</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242283#M5102</link>
      <description>Hi guys,&lt;BR /&gt;
&lt;BR /&gt;
I have looked into the issue with our developers, and this Query should absolutely work with Stairs and Railings as well! It is not working because of a bug! We probably haven't noticed this before, because (as JaseBee mentioned) we use a different method now to get these information out of elements.&lt;BR /&gt;
&lt;BR /&gt;
Using the aforementioned Request instead is a great workaround (in most cases even a great long-term solution)! Hopefully we can fix this soon in a future update.&lt;BR /&gt;
&lt;BR /&gt;
Kind Regards,</description>
      <pubDate>Mon, 27 Nov 2017 08:04:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-IFC-parameters-not-working-for-stairs/m-p/242283#M5102</guid>
      <dc:creator>Daniel Kovacs</dc:creator>
      <dc:date>2017-11-27T08:04:02Z</dc:date>
    </item>
  </channel>
</rss>

