Community
Hello there,
I´d like to ask a very simple question about Ilogic.
I need to change the length of geometry by a text parameter.
How to do this?
I tried this:
Also I searched Youtube but I have not found anything yet
Any help would be greatly appreciated
If widthselection="420" Then
Parameter(d11)=725mm
Parameter(width)=420mm
ElseIf widthselection="620" Then
Parameter(d11)=1075mm
Parameter(width)=620mm
ElseIf widthselection="820" Then
Parameter(d11)=1425mm
Parameter(width)=820mm
EndIf
Solved! Go to Solution.
remove the "mm" after your numeric values. The parameter should already have a unit defined. So your code should be.
If widthselection="420" Then
d11=725
width=420
ElseIf widthselection="620" Then
d11=1075
width=620
ElseIf widthselection="820" Then
d11=1425
width=820
End If
Thank you very much...
I will change it on monday 🙂
Kind regards
Daniel
Can't find what you're looking for? Ask the community or share your knowledge.