functioncopyClass

Copies a class within the same level.

Inputs

TypeNameDefaultDescription
TypeNameclassNamethe class that should be copied
StringnewClassNamethe name for new class
TypeNamewithIn$Code(__OpenModelica_TopLevel)the within path for new class

Outputs

TypeNameDefaultDescription
Booleanresult