<?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 Property of hotlinked module in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619870#M10794</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have trouble with expressions. I would like to use expression, which tests, whether object is part of module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some objects (e.g. sink) tahat are part of hotlinked module. This module has ID which corresponds to building ID (e.g. Building 01). Then I have some objects, that are not part of hotlinked module and they have property (BuildingID) which we manually fill out. And what I need to do is to have another property (e.g. BuildingIDschedule) which I can put into schedules. This property would be either "BuildingID" or "ModuleID" .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF "object is part of hotlinked module"; moduleID;&amp;nbsp;BuildingID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whatever I try I get undefined either for objects that are part of module or for the objects that are not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2024 04:53:16 GMT</pubDate>
    <dc:creator>Michal Forejt</dc:creator>
    <dc:date>2024-07-26T04:53:16Z</dc:date>
    <item>
      <title>Property of hotlinked module</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619870#M10794</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have trouble with expressions. I would like to use expression, which tests, whether object is part of module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some objects (e.g. sink) tahat are part of hotlinked module. This module has ID which corresponds to building ID (e.g. Building 01). Then I have some objects, that are not part of hotlinked module and they have property (BuildingID) which we manually fill out. And what I need to do is to have another property (e.g. BuildingIDschedule) which I can put into schedules. This property would be either "BuildingID" or "ModuleID" .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF "object is part of hotlinked module"; moduleID;&amp;nbsp;BuildingID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whatever I try I get undefined either for objects that are part of module or for the objects that are not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 04:53:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619870#M10794</guid>
      <dc:creator>Michal Forejt</dc:creator>
      <dc:date>2024-07-26T04:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Property of hotlinked module</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619893#M10795</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'd suggest to check the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;is the property visible to all classifications that you intend it to be?&lt;/LI&gt;
&lt;LI&gt;is the property exported from your main file to your hotlink module?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 26 Jul 2024 06:43:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619893#M10795</guid>
      <dc:creator>Xandros</dc:creator>
      <dc:date>2024-07-26T06:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Property of hotlinked module</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619900#M10796</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;module is exported from the same file and property is set to be visible to all classifications. Objects are all properly classified.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 06:56:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619900#M10796</guid>
      <dc:creator>Michal Forejt</dc:creator>
      <dc:date>2024-07-26T06:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Property of hotlinked module</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619904#M10797</link>
      <description>&lt;P&gt;I tried reproducing the error, but for me it worked like intended. Maybe you can share a few screenshots:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;property-manager with the faulty expression&lt;/LI&gt;
&lt;LI&gt;hotlink module settings of your mentioned sink&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 26 Jul 2024 07:13:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619904#M10797</guid>
      <dc:creator>Xandros</dc:creator>
      <dc:date>2024-07-26T07:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Property of hotlinked module</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619946#M10798</link>
      <description>&lt;P&gt;As a workaround I used following expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;#SEKCE
IFS ( ID modulu = "A"; ID modulu; ID modulu = "B"; ID modulu; ID modulu = "C"; ID modulu; ID modulu = "D"; ID modulu; ID modulu = "E"; ID modulu; ID modulu = "F"; ID modulu; ID modulu = ""; SEKCE VOLBA )&lt;/LI-CODE&gt;&lt;P&gt;This works as we use only 6 unique IDs for our modules (6 buildings - A, B, ...F). So in case object has any of the module IDs it returns Module ID (as building identification), otherwise it returns "SEKCE VOLBA" which is manually set up by us (Again&amp;nbsp;A, B, ...F).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what I was originally trying was this:&lt;/P&gt;&lt;P&gt;On printscreen you can see that #SEKCE works, but #SEKCE 1S doesn't work:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;IF ( ISUNDEFINED ( ID modulu) ; SEKCE VOLBA; ID modulu )&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snímek obrazovky 2024-07-26 120935.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/69151iF4A9BA72F7052227/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snímek obrazovky 2024-07-26 120935.png" alt="Snímek obrazovky 2024-07-26 120935.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This doesn't work either:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF ( ISUNDEFINED ( ID modulu) ; ID modulu ; SEKCE VOLBA)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snímek obrazovky 2024-07-26 121402.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/69152i0ED352FDC5C6DDF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snímek obrazovky 2024-07-26 121402.png" alt="Snímek obrazovky 2024-07-26 121402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 10:15:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619946#M10798</guid>
      <dc:creator>Michal Forejt</dc:creator>
      <dc:date>2024-07-26T10:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Property of hotlinked module</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619968#M10799</link>
      <description>&lt;P&gt;One approach I'd try:&lt;/P&gt;
&lt;PRE&gt;IF ( OR(ID modulu = "A"; ID modulu = "B"; ID modulu = "C"; ID modulu = "D"; ID modulu = "E"; ID modulu = "F"); ID modulu; SEKCE VOLBA )&lt;/PRE&gt;
&lt;P&gt;→ the usage of OR(condition1; condition2; ....; conditionN) simplifies the conditions you tried&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;another one to make the expression even easier:&lt;/P&gt;
&lt;PRE&gt;IF ( ID modulu &amp;lt;&amp;gt; ""; ID modulu; SEKCE VOLBA )&lt;/PRE&gt;
&lt;P&gt;ID modulu &lt;STRONG&gt;&amp;lt;&amp;gt; ""&lt;/STRONG&gt; → means if ID modulu is not empty (there's a difference between the value being empty or being undefined)&lt;/P&gt;
&lt;P&gt;with this type of writing the condition there's no need to specify what exactly is written in IDmodulu. As long there is some value in there it will use IDmodulu as a result.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 11:49:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619968#M10799</guid>
      <dc:creator>Xandros</dc:creator>
      <dc:date>2024-07-26T11:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Property of hotlinked module</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619974#M10800</link>
      <description>&lt;P&gt;Thanks a lot. This is great. I have never seen usage of this &amp;lt;&amp;gt; - that is my little game changer with AC expressions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 12:02:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Property-of-hotlinked-module/m-p/619974#M10800</guid>
      <dc:creator>Michal Forejt</dc:creator>
      <dc:date>2024-07-26T12:02:11Z</dc:date>
    </item>
  </channel>
</rss>

