diff --git a/src/abqpy/cli.py b/src/abqpy/cli.py index 5f58448a14..d19c53856e 100644 --- a/src/abqpy/cli.py +++ b/src/abqpy/cli.py @@ -57,6 +57,7 @@ def cae( database: str | None = None, replay: str | None = None, recover: str | None = None, + startup: str | None = None, gui: bool = False, envstartup: bool = True, savedOptions: bool = True, @@ -80,6 +81,8 @@ def cae( The name of the replay file to open, by default None recover : str, optional The name of the journal file to open, by default None + startup : str, optional + The name of the startup file to open, by default None gui : bool, optional Run Abaqus/CAE command with the graphical user interface (GUI mode), by default False. envstartup : bool, optional @@ -100,9 +103,10 @@ def cae( """ # Parse options options = self._parse_options(script=script if gui else None, noGUI=script if not gui else None, - database=database, replay=replay, recover=recover, noenvstartup=not envstartup, - noSavedOptions=not savedOptions, noSavedGuiPrefs=not savedGuiPrefs, - noStartupDialog=not startupDialog, custom=custom, guiTester=guiTester, + database=database, replay=replay, recover=recover, startup=startup, + noenvstartup=not envstartup, noSavedOptions=not savedOptions, + noSavedGuiPrefs=not savedGuiPrefs, noStartupDialog=not startupDialog, + custom=custom, guiTester=guiTester, guiRecord=True if guiRecord is True else None, guiNoRecord=True if guiRecord is False else None) # fmt: skip args = ("--", *args) if args else ()