Message 1 of 13
suppress part
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a wooden frame.
These have a 'Breedte' and 'Diepte' parameter.
If these measurements are above a certain value there will be placed a wooden beam in the middle.
I have created a level of detail and with the ilogic function 'Component.IsActive' I can switch between on and off.
However, I am unable to write the ilogic code to switch on and off the wooden beam at the specified values.
Via the link you see the diagram of the values.
https://www.vlakkelichtkoepel.nl/tekeningen/XL%20afmetingen.pdf
With the white values there is no wooden beam.
In the blue values, one beam comes in the middle and two beams are added by the green values.
Here is my code so far:
If Breedte <= 1000 And Diepte <= 2000 Then Component.IsActive("Tussenligger") = False ElseIf Breedte > 1000 < 1200 And Diepte > 1800 Then Component.IsActive("Tussenligger") = True ElseIf Component.IsActive("Tussenligger") = False ElseIf Breedte > 1200 < 1300 And Diepte > 1700 Then Component.IsActive("Tussenligger") = True ElseIf Breedte > 1300 < 1500 And Diepte > 1500 Then Component.IsActive("Tussenligger") = True ElseIf Breedte > 1400 < 1800 And Diepte > 1400 Then Component.IsActive("Tussenligger") = True ElseIf Breedte > 1800 < 2000 And Diepte > 1100 Then Component.IsActive("Tussenligger") = True ElseIf Breedte >= 2000 And Diepte > 1000 Then Component.IsActive("Tussenligger") = True End If
Mvg Jos
Youre drawings are as good as the symbols that compleet them.....
Youre drawings are as good as the symbols that compleet them.....