From bd4bb046d0ce47246f859806518d91fa7c543806 Mon Sep 17 00:00:00 2001 From: syntron Date: Fri, 9 Jan 2026 09:55:23 +0100 Subject: [PATCH] update docstring of __init__.py - do not promote depreciated OMCSessionZMQ --- OMPython/__init__.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/OMPython/__init__.py b/OMPython/__init__.py index 59a0ad10..624ee64f 100644 --- a/OMPython/__init__.py +++ b/OMPython/__init__.py @@ -1,10 +1,14 @@ # -*- coding: utf-8 -*- """ OMPython is a Python interface to OpenModelica. -To get started, create an OMCSessionZMQ object: -from OMPython import OMCSessionZMQ -omc = OMCSessionZMQ() +To get started on a local OMC server, create an OMCSessionLocal object: + +``` +import OMPython +omc = OMPython.OMCSessionLocal() omc.sendExpression("command") +``` + """ from OMPython.ModelicaSystem import (