Skip to content

Commit 07ad41d

Browse files
committed
Add __Dymola_interactive=true to import functions
1 parent 6ad838e commit 07ad41d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

FMI/package.mo

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@ package FMI "Import Functional Mock-up Units (FMUs) to Modelica"
44

55
package Menu "FMU Import"
66

7-
function importFMU = FMI.Menu.openImportDialog "Import FMU..." annotation(__Dymola_autoExecute = true);
7+
function importFMU = FMI.Menu.openImportDialog "Import FMU..." annotation(__Dymola_interactive=true, __Dymola_autoExecute=true);
8+
89
function openImportDialog
910

1011
algorithm
1112

1213
DymolaCommands.System.Execute("modelica-fmi-gui");
1314

15+
annotation(__Dymola_interactive=true);
16+
1417
end openImportDialog;
18+
1519
annotation (
1620
__Dymola_toolbar=true,
21+
__Dymola_interactive=true,
1722
Protection(hideFromBrowser=true),
1823
Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,
1924
100}}), graphics={Bitmap(extent={{-100,-100},{100,100}}, fileName

0 commit comments

Comments
 (0)