Message 1 of 3
Sub Assembly Composer - If Statement - Expression Editor

Not applicable
08-20-2020
03:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Morning/Afternoon and Evening
I'm working on a bespoke sub assembly in sub assembly composer. However the slope angle is an int (degrees) which which retains the slope when toggled from left to right. I've been trying to add an expression in the Expression Editor to add 180 to the value if Side = Left but am getting nowhere.
So my expression is:
{If (Side.Value="Right")
WallAngle.Value
Else
WallAngle.Value+180
}
Unfortunately this fails, would anyone be able to assist on how I would go about writing an If Statement in Expression Editor?