Autodesk Inventor Customization
- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
iLogic Form - Read Only
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi everyone, I was wondering if there is a way to modify a user form parameter's read only status using a rule?
I have a parameter that I want people to be able to edit when another parameter is set to true and to be locked if it's set to false. The only thing that comes to mind is have a rule that will just switch the value back automatically if the user changes it but it would be good if i could control the read only status.
Thanks, Matt.
Solved! Go to Solution.
Re: iLogic Form - Read Only
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Matt,
If you want to make a parameter in a form Read-Only based on a parameter's True/False value then you can just set that parameter for the "Enabling Parameter Name" in the form.
If the problem is that instead of making the value Read-Only when the parameter is False, you'd like to make it Read-Only when the parameter is True, then you could create an additional parameter and a associated rule for the locking parameter that would keep these two parameters' values opposite, and then use this extra parameter for the "Enabling Parameter Name"
Here are some pictures that should make it clearer what I mean:
Cheers,

Adam Nagy
Developer Technical Services
Autodesk Developer Network
Re: iLogic Form - Read Only
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Adam, is this functionality only available in 2013? I'm stuck on 2012 as where I work only swaps over versions every two years.
I guess I'll have to use my workaround until 2014 comes out.
Thanks for your help.
Matthew.
Re: iLogic Form - Read Only
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
I could achieve the exact same thing in Inventor 2012 as well - attached is the part I created.
When you modify the LockMyParam parameter to false then the MyParam edit box becomes read-only.
Cheers,

Adam Nagy
Developer Technical Services
Autodesk Developer Network

