OpenModelica


Forgot password? | Forgot username? | Register

export package tree structure

export package tree structure

Hello,

Is there in OMC command, to return the hierarchical tree structure of a Modelica package? I see commands like "getPackages", "getClassNames" and "getUsedClassNames" which return packages and classes of one level of the structure tree. But what i mean is something which returns the whole tree structure.

Thanks,
Arvin

Administrator has disabled public posting. Please login or register in order to proceed.

Re: export package tree structure

Use recursive parameter of getClassNames.
See here https://build.openmodelica.org/Document … Names.html

Adeel.

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic
You are here: