Importing Modelica library by script

RoKet
RoKet
Altair Employee
edited October 2020 in Community Q&A

During development of Modelica components I have to import the library several times. Using the dialoge is unwieldy :huh:/emoticons/default_huh.png' title=':huh:' />. Can I use a script or something else?

Thanks,
Ronald

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • RoKet
    RoKet
    Altair Employee
    edited June 2018

    I got a solution in the meantime, thanks to Fady :rolleyes:/emoticons/default_rolleyes.gif' title=':rolleyes:' />

    You can call the following from oml:
      vssImportModelicaLibrary(molib, dd)
    where
       molib is the path to the modelica library
       dd is the path where you want to create your library

  • Duong Tung
    Duong Tung Altair Community Member
    edited March 2020

    Hello RoKet,

    I would like to ask you a question. Could you please tell me the way how to import the modelica library to altair activate?

    Thank you in advance.

    Tung

  • RoKet
    RoKet
    Altair Employee
    edited April 2020

    Hi Duong Tung,

     

    The 'normal' way to import Modelica libraries is described in online help. Starting point in Activate is in File menue - Libraries - Import Modelica Library.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.