iLogic - very basic

iLogic - very basic

ChristianAndersenIsmyname
Advocate Advocate
528 Views
3 Replies
Message 1 of 4

iLogic - very basic

ChristianAndersenIsmyname
Advocate
Advocate

This is the first time I'm using iLogic, and this is most likely a very easy question to answer.

 

What shall I write to get a prompted value to change my Model Parameter?

 

This is what I have so far.

OuterD = InputBox("Outer Diameter", "Dimensions",)
InnerD = InputBox("Inner Diameter", "Dimensions", )
Thickness = InputBox("Thickness", "Dimensions", )

d0 = OuterD

iProperties.Value("Custom", "Outer Diameter") = d0
iProperties.Value("Custom", "Inner Diameter") = d1
iProperties.Value("Custom", "Thickness") = d2

 

Bonus question:

Can I add Inputboxes into one box?

0 Likes
Accepted solutions (1)
529 Views
3 Replies
Replies (3)
Message 2 of 4

Martin-Winkler-Consulting
Advisor
Advisor
Accepted solution

Why don't you use a form?

 

3DCS_Mittwoch, 15. Juli 2020_13h24m27s_001_.jpg

Martin Winkler
CAD Developer
Did you find this post helpful? Feel free to like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature

0 Likes
Message 3 of 4

Well, I didnt know about that, and it was so much easier. Thanks.

 

Do you know if/how I can make the Form table appear when opening the file?

0 Likes
Message 4 of 4

Never mind, I figured it out 🙂

0 Likes