<?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: Expressions Error in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231887#M29763</link>
    <description>The initial problem worked itself out. I've not another issue that is somewhat relevant, so I'll keep it in this thread.&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to accurately measure the length of skirting of all walls with the material. There doesn't seem to be a parameter to do this, but there is one to detect doors.&lt;BR /&gt;
&lt;BR /&gt;
I'm working around it by trying to make expressions to detect the wall type/material and then choosing a formula. I've read that you can make a true/false statement with numeric values but am not sure how to do it.&lt;BR /&gt;
&lt;BR /&gt;
IF ( ( Skirting - Thickness} &amp;gt; 0 ), TRUE, FALSE )&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Fri, 10 Aug 2018 00:33:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-10T00:33:59Z</dc:date>
    <item>
      <title>Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231880#M29756</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I'm having problems trying to use Skin Component Area in expressions. The error I'm receiving is "Expressions contains circular reference" &lt;BR /&gt;
&lt;BR /&gt;
Is this the correct approach/parameters to do calculations with for complex profiles with multiple materials?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Aug 2018 04:33:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231880#M29756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T04:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231881#M29757</link>
      <description>Having difficulty getting parameters for openings to work in expressions too. Invalid values using the surface area parameters, but is working for actual window objects</description>
      <pubDate>Thu, 09 Aug 2018 04:44:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231881#M29757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T04:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231882#M29758</link>
      <description>Complex profiles do not have skins like a composite wall does.&lt;BR /&gt;
They can look the same but a complex profile is just a bunch of extruded fills that can be any shape and in any position in relation to each other.&lt;BR /&gt;
Not like the parallel skins of a composite wall or slab.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 09 Aug 2018 05:47:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231882#M29758</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-08-09T05:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231883#M29759</link>
      <description>That's a shame. Does that mean the skin components cannot be converted or used in any way for expressions at all?</description>
      <pubDate>Thu, 09 Aug 2018 06:18:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231883#M29759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T06:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231884#M29760</link>
      <description>The only skin information that I can see that can be used in the property expressions is ...&lt;BR /&gt;
&lt;BR /&gt;



&lt;BR /&gt;
And of course this is only for composite walls.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 09 Aug 2018 06:54:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231884#M29760</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-08-09T06:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231885#M29761</link>
      <description>Guess I'll have to investigate a bit further to see if I can get what I want&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks Barry</description>
      <pubDate>Thu, 09 Aug 2018 08:21:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231885#M29761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T08:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231886#M29762</link>
      <description>Andrew,&lt;BR /&gt;
&lt;BR /&gt;
Maybe you could post exactly what you are trying to achieve, plus show the exact Expression you created to achieve that. From that point, we could help you further, hopefully.</description>
      <pubDate>Thu, 09 Aug 2018 18:43:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231886#M29762</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2018-08-09T18:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231887#M29763</link>
      <description>The initial problem worked itself out. I've not another issue that is somewhat relevant, so I'll keep it in this thread.&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to accurately measure the length of skirting of all walls with the material. There doesn't seem to be a parameter to do this, but there is one to detect doors.&lt;BR /&gt;
&lt;BR /&gt;
I'm working around it by trying to make expressions to detect the wall type/material and then choosing a formula. I've read that you can make a true/false statement with numeric values but am not sure how to do it.&lt;BR /&gt;
&lt;BR /&gt;
IF ( ( Skirting - Thickness} &amp;gt; 0 ), TRUE, FALSE )&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 10 Aug 2018 00:33:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231887#M29763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T00:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231888#M29764</link>
      <description>So your skirting is part of the wall composite and you are using a profile modifier to adjust the skirting thickness?&lt;BR /&gt;
You might be able to use this as modifiers can be used in property expressions.&lt;BR /&gt;
I will have to have a play with it over the weekend.&lt;BR /&gt;
&lt;BR /&gt;
If your skirting was a separate object or beam then it would be easy, but of course it would not automatically cut for openings.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 10 Aug 2018 01:23:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231888#M29764</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-08-10T01:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231889#M29765</link>
      <description>Yes it's part of a wall complex profile. I'm having trouble getting the expression to return TRUE/FALSE. &lt;BR /&gt;
&lt;BR /&gt;
Looking at the FAQ, this is what I want to achieve&lt;BR /&gt;
&lt;BR /&gt;
"&lt;B&gt;Can I convert a numeric calculation result to a simple polar question answer (like yes/no or true/false)?&lt;/B&gt;&lt;BR /&gt;
Yes! Typical design validation scenarios are based on polar questions clarifying if your design meets the requirements from a certain aspect or not. You can create a separate property with True/False data type and create an expression which sets the value to True or False depending on the calculated value of the numeric property the validation is based on."&lt;BR /&gt;
&lt;BR /&gt;
The above says its possible, but I can't find any examples. I seem to be generally having problems getting one data type to another. Are there any particular tips or tricks for me to learn?</description>
      <pubDate>Fri, 10 Aug 2018 01:58:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231889#M29765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T01:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231890#M29766</link>
      <description>On a similar note, I'm trying to do the same thing in order to try and detect if a door position is external or not in order to have an expression use it to determine if its a single/double architrave.</description>
      <pubDate>Fri, 10 Aug 2018 02:17:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231890#M29766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T02:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231891#M29767</link>
      <description>So just to confirm we are both going down the same track, you have a complex profile something like this that has modifiers to allow for a skirting (or not if zero width)?&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 10 Aug 2018 02:22:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231891#M29767</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-08-10T02:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231892#M29768</link>
      <description>Hi Barry,&lt;BR /&gt;
&lt;BR /&gt;
Yes that's what I have, along with a few more components overlapping (not sure if that matters).</description>
      <pubDate>Fri, 10 Aug 2018 02:30:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231892#M29768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T02:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231893#M29769</link>
      <description>Not Sure this is your problem but:&lt;BR /&gt;
&lt;BR /&gt;
IF ( ( Skirting - Thickness} &amp;gt; 0 ), TRUE, FALSE ) -- assuming skirting and thickness have the same units -- if not they must be properly cancelled out.&lt;BR /&gt;
&lt;BR /&gt;
Is a valid expression. However, the data type returned by the expression must match the data type configured (definition value) for the expression. Generally the string type is set as default. in your case, for the above, the expression definition data type must also be set to TRUE/FALSE.&lt;BR /&gt;
&lt;BR /&gt;
Yes you can convert from one data type to another but the units within the expression must match that of the value definition data type. However, this can't be done for true/false since there is no equivalence between a number and a Boolean value. 1 does not equal true as in some programing languages. You must use a logical (if) statement.&lt;BR /&gt;
&lt;BR /&gt;
example:&lt;BR /&gt;
&lt;BR /&gt;
area/m = length&lt;BR /&gt;
volume/m = area&lt;BR /&gt;
area * m2 = volume&lt;BR /&gt;
area/m2 = number -- no units&lt;BR /&gt;
&lt;BR /&gt;
IOW you must be sure to cancel out units correctly to match that of the definition value type.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps unless you have some other issues?</description>
      <pubDate>Fri, 10 Aug 2018 02:40:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231893#M29769</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2018-08-10T02:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231894#M29770</link>
      <description>Sorry, the "Skirting - Thickness" is the modifier name, not an operation.  The data value of "Skirting - Thickness" should be a statement of true/false from my understanding - matching the required expression definition data type.&lt;BR /&gt;
&lt;BR /&gt;
Screenshot:&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Aug 2018 02:53:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231894#M29770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T02:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231895#M29771</link>
      <description>I was going to look at it on the weekend, but my interest has been piqued.&lt;BR /&gt;
&lt;BR /&gt;
This will hopefully explain it.&lt;BR /&gt;
Use 'IF' to test if the modifier is true or false - 1 or 0 in this case as we can then multiply it by the wall length.&lt;BR /&gt;
Don't use zero as the comparison value as there will be small errors in the skirting width - 0 may actually be 0.00001.&lt;BR /&gt;
Set a unit of measurement to the comparison value so you are comparing a length with a length.&lt;BR /&gt;
Now just multiply it by the conditional wall length.&lt;BR /&gt;
Make sure the 'Data Type' is 'Length' and be sure to associate the property with walls.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 10 Aug 2018 03:01:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231895#M29771</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-08-10T03:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231896#M29772</link>
      <description>To add to what Barry said -- and I believe we are saying the same thing.&lt;BR /&gt;
&lt;BR /&gt;
in your if statement you are comparing a dimension ed number to a non-unit number. They must be the same.&lt;BR /&gt;
&lt;BR /&gt;
simply multiply the 0 by whatever units the profile is so they are the same.</description>
      <pubDate>Fri, 10 Aug 2018 03:24:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231896#M29772</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2018-08-10T03:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231897#M29773</link>
      <description>This works perfectly. Definitely jogged up some old memories from coding classes a long time ago.&lt;BR /&gt;
&lt;BR /&gt;
With that said, I feel like the TRUE/FALSE data type is a bit useless? Using my next task as an example - if I wanted to get the position of my window/door to determine architraves on one or both sides - I'd have to obtain it from a string parameter and use the text editor functions to have it return TRUE/FALSE?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks for both of your help.</description>
      <pubDate>Fri, 10 Aug 2018 03:49:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231897#M29773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-10T03:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231898#M29774</link>
      <description>&lt;BLOCKQUOTE&gt;Andrew wrote:&lt;BR /&gt;
if I wanted to get the position of my window/door to determine architraves on one or both sides - I'd have to obtain it from a string parameter and use the text editor functions to have it return TRUE/FALSE?
&lt;/BLOCKQUOTE&gt;

I am a bit confused what the position would have to do with architraves.&lt;BR /&gt;
Wouldn't this be a parameter you turn on/off in the object.&lt;BR /&gt;
That would be your true/false.&lt;BR /&gt;
If true then it is (window width +window height)*2 and for doors door width + door height *2.&lt;BR /&gt;
&lt;BR /&gt;
This doesn't allow for full height windows or corner windows if that is what you mean by position.&lt;BR /&gt;
But architraves which are added as part of the object will best be calculated in the object.&lt;BR /&gt;
Which may be a problem if you are using the Graphisoft doors and windows (I am unfamiliar with them as I don't use them).&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 10 Aug 2018 04:03:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231898#M29774</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-08-10T04:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions Error</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231899#M29775</link>
      <description>&lt;BLOCKQUOTE&gt;Andrew wrote:&lt;BR /&gt;
I'd have to obtain it from a string parameter and use the text editor functions to have it return TRUE/FALSE?
&lt;/BLOCKQUOTE&gt;

Correct - However, string functions can compare strings directly to return a true/false. pretty much the same as using a if statement.&lt;BR /&gt;
&lt;BR /&gt;
Keep in mind that this feature is a first issue -- so as deficiencies become apparent, I ASSUME Graphisoft will improve this feature in the future??</description>
      <pubDate>Fri, 10 Aug 2018 04:04:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Expressions-Error/m-p/231899#M29775</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2018-08-10T04:04:42Z</dc:date>
    </item>
  </channel>
</rss>

