iLogic forms: Display parameter equation rather than value?

iLogic forms: Display parameter equation rather than value?

DRoam
Mentor Mentor
815 Views
1 Reply
Message 1 of 2

iLogic forms: Display parameter equation rather than value?

DRoam
Mentor
Mentor

We're using an iLogic form to control a part, but sometimes one of the parameters in the form will be set via an equation (which references other parameters) rather than a static value.

 

The problem is, the iLogic form still continues to just show the parameter's final value, and gives no indication that the parameter is actually an equation. And even worse, it will actually let me override the parameter's value, wiping out the pre-existing equation, without me ever knowing that I just destroyed some important parameterization.

 

Is there any way to display the expression for a parameter, rather than its resulting value, in an iLogic form? Or at least indicate that the parameter is an expression?

 

 

PS: I'm hoping for some hidden setting or trick in the iLogic form that I haven't found. I'm sure I could accomplish this by adding some iLogic to check if a parameter is an expression, push that to a boolean parameter, and use that boolean parameter enable/disable my parameter's input field in the form. But doing that for every parameter in my form would add way too much extra junk and complexity.

0 Likes
816 Views
1 Reply
Reply (1)
Message 2 of 2

dgreatice
Collaborator
Collaborator

Try This,

 

MsgBox(Parameter.Param("YouParam").Expression)

 

Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.

Autodesk Inventor Professional Certified 2014