Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Medium definition & object modification on OMEdit

Medium definition & object modification on OMEdit

Hi all,
I think it is an issue that could be fixed easily.

let's say we build a simple pipe:

Modelica.Fluid.Pipes.DynamicPipe p11(length = 10., diameter = 0.05)

then i modify my code directly in the text editor in the text view link my code is then the following

  Modelica.Fluid.Pipes.DynamicPipe p11(length = 10., diameter = 0.05, height_ab = 0, redeclare package Medium = Modelica.Media.Water.StandardWater constrainedby Modelica.Media.Interfaces.PartialMedium)

now let's go bat the diagram view option and let's say i want to increase the nNodes from 1 to 5. You open the menue while clicking on the p11 object and modify the nNodes value click OK and check the code. nNodes will not appear this means the link between the diagram view and the text view is lost.

This issue concerns all parameters and all the objects in modelica.

Once you add something in the text vew you loos the link with diagram GUI.

Connected to OpenModelica 1.9.2+dev (r23841)
Linux jugurtha 3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


On   

There are 0 guests and 0 other users also viewing this topic
You are here: