iLogic Code for Read Only

iLogic Code for Read Only

GKPByDesign
Advocate Advocate
1,234 Views
2 Replies
Message 1 of 3

iLogic Code for Read Only

GKPByDesign
Advocate
Advocate

I know how to change a parameter to be read only in the for,, but what is the logic code for it so I can state in some code instead? 

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

JelteDeJong
Mentor
Mentor

in the post below i descripe a way to do that.

https://forums.autodesk.com/t5/inventor-forum/disable-an-option-in-a-form-in-ilogic/m-p/9012682#M759...

Jelte de Jong
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


Blog: hjalte.nl - github.com

0 Likes
Message 3 of 3

GKPByDesign
Advocate
Advocate
Accepted solution

I used someone's post in the end to solve it. Below is what I did in the end.

 

In the form the parameter you wish to lock as "read only" can be triggered by a custom made "true/false" parameter. 

 

1. Right click on form and edit

2. Find and select the parameter you wish to make read only

3. Under behaviour there is an option to use a custom parameter to control this parameter. If you try to select a parameter you may notice you will only have "none" to choose from.

4. Create a custom "true/false" parameter, not numerical or text. 

5. Repeat step 3 and select the custom parameter you just created

6. Create a simple Ilogic and write the custom parameter to " = " (equal) true or false.

 

 

0 Likes