Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[OMCSessionZMQ] add missing execute()
  • Loading branch information
syntron committed Nov 24, 2025
commit beddea1d90dad6b503b632a3eb521bfd4af62090
3 changes: 3 additions & 0 deletions OMPython/OMCSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,9 @@ def run_model_executable(cmd_run_data: OMCSessionRunData) -> int:
"""
return OMCProcess.run_model_executable(cmd_run_data=cmd_run_data)

def execute(self, command: str):
return self.omc_process.execute(command=command)

def sendExpression(self, command: str, parsed: bool = True) -> Any:
"""
Send an expression to the OMC server and return the result.
Expand Down