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

How to increase the page size in OMEdit

How to increase the page size in OMEdit

I created a model. It is becoming quite big. I found out, that I can place components on the right and the
left of the page, but how can I increase the page size or decrease the size of the components on the page?

I want to have all of the components on the page. I use subcomponents already.

I talk here about the diagram view.

Best regards:

Uwe Fechner

Using OMEdit 1.8.1 on Ubuntu 10.10 32 bit.

Edited by: ufechner - Mar-01-12 16:30:26

Re: How to increase the page size in OMEdit

Hi,

Its not possible to increase or decrease the size of the canvas. Modelica does support it using the coordinate annotation,

Code:

annotation (Diagram(coordinateSystem(extent={{-100,-100}, {100,100}}));

but currently this is not implemented in OMEdit.

However, you can zoom-out a bit to get more space (but thats ofcourse not a very good solution).

Adeel.

Re: How to increase the page size in OMEdit

Has this possibly been fixed?

If I change the extent attribute in the annotation of an element, I can make it look smaller, but the connections have then to be manually adapted, since the connections otherwise do not appear to be connected to the components. This seems be very time-consuming. Any alternative?

Re: How to increase the page size in OMEdit

If you have an elaborate model you can just increase the size of the canvas right instead of changing the size of the model components?

To change the size of the canvas:

  • Right Click in the diagram view and select "Properties'.

  • Change the values under "Extent" to a suitable value.


  • This will expand the canvas and allow you to zoom and navigate around the Diagram

    Edited by: jalpanchal - Nov-15-16 04:35:10

    Re: How to increase the page size in OMEdit

    Thanks!

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