Relief text with ilogic

Relief text with ilogic

hellsensation
Contributor Contributor
208 Views
2 Replies
Message 1 of 3

Relief text with ilogic

hellsensation
Contributor
Contributor

Hello colleagues
At the moment I am automating the design of standard parts. I'm having difficulty changing the text through ilogic while applying the relief, I need the user values to be entered instead D32 R60.

 

' ***Relief3***
Feature.IsActive("Relief3") = True
d130 = 0.2 mm
d129 = 140 mm

 

what should I add to the code? 

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

A.Acheson
Mentor
Mentor
Accepted solution

Hi @hellsensation 

You need to first set up the text to be controlled by a text parameter. You can then control this manually by editing the parameterin the parameter dialog box. Then if you need it done by code then send your value to this parameter via a input box or form etc. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 3

hellsensation
Contributor
Contributor

@A.Acheson Thank you very much for the hint, I did as you said, then added these parameters to the form and everything worked

0 Likes