Bertrand Kim Posted September 21, 2022 Share Posted September 21, 2022 (edited) Helo everyone This post is a Searchable note for Prameter Expression Arithmetic Operator 1) equal, same, identical, matching : == 2) above, grather than, exceeding, over : > 3) under, below, less than : < 4) more than, not less than : >= 5) less, not exceeding, not more than : <= Kim Edited October 15, 2022 by Bertrand Kim Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted September 21, 2022 Author Share Posted September 21, 2022 (edited) Suppression parameter Value 0 = Unsuppress Suppression parameter Value 1 = Suppress Edited September 21, 2022 by Bertrand Kim Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted November 29, 2022 Author Share Posted November 29, 2022 (edited) Edited November 29, 2022 by Bertrand Kim Quote Link to comment Share on other sites More sharing options...
ASPEER Posted November 29, 2022 Share Posted November 29, 2022 Kim, default units in the parameter table is meters, if you specify a unit then it will use that unit for that particular variable. The units column is the display units for the evaluated expression. Scalar values are unitless and as such are converted to default units (meters) before addition or subtraction are performed. Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted November 30, 2022 Author Share Posted November 30, 2022 Hi ASPEER Thank you for the reply There is someting confusing me every seconds In test11 1 + 1mm = 1001 mm ( I understand it as your explaination ) In test13 If I entered 1 * 1mm, it should be 1000 like in test11 In test14 I entered 1 / 1 mm, the result is 1000000 like in test34 It is understandable that it can not be fixed becuase the customer's previous works. But it's clear that I can not remember these rules. Maybe I should go back to elementary school Kim Quote Link to comment Share on other sites More sharing options...
ASPEER Posted November 30, 2022 Share Posted November 30, 2022 For test 13, that is working as it should, you are multiplying a scalar (unitless) by a length. For test 14, that is a bit odd, however I suspect it is because they expect the numerator to always have units. The result is exactly as expected for 1m/1mm=Xmm if you consider the conversions done, ie 1m/0.001m=1000m * 1000=1 000 000mm. Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted December 1, 2022 Author Share Posted December 1, 2022 Hi ASPEER, Yes I understand for test 14 But look at test24 The parameter name [One] is 1 Millimeter So the Expression and the result in test24 must be "1mm / 1mm = 1" However the value was 1000 And the value of 1mm / 1mm is 1000 too Kim Quote Link to comment Share on other sites More sharing options...
ASPEER Posted December 1, 2022 Share Posted December 1, 2022 That looks like something one of the devs should look at, but if I were to guess I would say that it expects the denominator to be a scalar so it is converting 1mm to default units then to scalar. Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted July 28, 2023 Author Share Posted July 28, 2023 I still don't get it perfectly, and I'll give my missile to the first person who explains test24 to me in a way that makes logical sense. Kim Quote Link to comment Share on other sites More sharing options...
ASPEER Posted July 30, 2023 Share Posted July 30, 2023 Kim, it looks like the issue is with the units. Test23 has units of mm2 but it looks like the conversion from default units (m) to mm only accounted for linear units (m => mm) rather than area units (m2 => mm2). Test24 is unitless and has been converted to mm. Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted August 7, 2023 Author Share Posted August 7, 2023 Great ASPEER! I've sent a missile! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.