.OpenModelica.Scripting.searchClassNames

Searches for a string in the loaded classes.

Information

Returns a list of classes whose name contains searchText. If findInText = true then classes whose text contains searchText is also returned.

Example command:

  searchClassNames("ground");
  searchClassNames("ground", true);

Interface

function searchClassNames
  input String searchText;
  input Boolean findInText = false;
  output TypeName classNames[:];
end searchClassNames;

Generated at 2025-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos