Opened 5 years ago
Last modified 2 years ago
#6144 closed defect
dynamic visibility of Modelica.Blocks.Interfaces.RealInput — at Version 2
| Reported by: | Owned by: | Adrian Pop | |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.21.0 |
| Component: | OMEdit | Version: | |
| Keywords: | Cc: |
Description (last modified by )
I want to change the visibility of a Modelica.Blocks.Interfaces.RealInput dynamic via another parameter. For example:
model Example parameter Boolean visibility = true; Modelica.Blocks.Interfaces.RealInput InputValue annotation( Placement(visible = visibility , transformation(origin = {-60, 120}, extent = {{-20, -20}, {20, 20}}, rotation = -90), iconTransformation(origin = {-60, 120}, extent = {{-20, -20}, {20, 20}}, rotation = -90))); end Example;
When I drag and drop the example model into a test area, i can change the parameter "visibility" but the visibility of the variable doesn't change.
Change History (2)
comment:1 by , 5 years ago
| Component: | Frontend → OMEdit |
|---|---|
| Description: | modified (diff) |
| Owner: | changed from to |
comment:2 by , 5 years ago
| Description: | modified (diff) |
|---|---|
| Milestone: | Future → 1.17.0 |
| Owner: | changed from to |
| Priority: | high → blocker |
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.

I guess this is very similar to #2081 and #2661, we may try to fix this as well together with them.