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

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

Re: export package tree structure

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

Adeel.

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