SOLVED!
Multiply by Boolean? Interpreting Equation in Equation?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-08-28
05:04 AM
- last edited on
2022-09-26
10:46 PM
by
Daniel Kassai
2020-08-28
05:04 AM
_doorHeight = _panelHeight + frameWidth*(iFrameType = FRAME_WIRE)
This line is from one of the broken GS AC23 objects. Anyone know how the highlighted section works? Changing theEqual to a Not Equal fixes two of the options, but doubles the issue in the third.
When GS rewrites an object, not adding anything, as far as I can tell, and breaks part of it...
Ling.
This line is from one of the broken GS AC23 objects. Anyone know how the highlighted section works? Changing the
When GS rewrites an object, not adding anything, as far as I can tell, and breaks part of it...
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
Solved! Go to Solution.
Labels:
- Labels:
-
Library (GDL)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-08-28 07:24 AM
2020-08-28
07:24 AM
the highlighted section is returning a true or false value (1 or 0).
therefore the frame width is only added to the door height if the frame type is wire
therefore the "frameWidth" is only added to the "_doorHeight" if the "iFrameType" is "FRAME_WIRE"
therefore the frame width is only added to the door height if the frame type is wire
therefore the "frameWidth" is only added to the "_doorHeight" if the "iFrameType" is "FRAME_WIRE"
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-08-28 05:17 AM
2020-08-28
05:17 AM
What object are you looking at?
Barry.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-08-28 07:24 AM
2020-08-28
07:24 AM
the highlighted section is returning a true or false value (1 or 0).
therefore the frame width is only added to the door height if the frame type is wire
therefore the "frameWidth" is only added to the "_doorHeight" if the "iFrameType" is "FRAME_WIRE"
therefore the frame width is only added to the door height if the frame type is wire
therefore the "frameWidth" is only added to the "_doorHeight" if the "iFrameType" is "FRAME_WIRE"

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-08-28 08:11 AM
2020-08-28
08:11 AM
Ah. Thanks Kristian.
So in this case, since changing the requisite to false solves the two false cases and doubles the true case, the equation should be a subtraction offrameWidth instead of addition. Simple fix, now just to wait for a licence to become available to use...
@Barry, Wardrobe Modular
Ling.
So in this case, since changing the requisite to false solves the two false cases and doubles the true case, the equation should be a subtraction of
@Barry, Wardrobe Modular
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |