Python Routinen mit PyRx als Ersatz für die .lsp Routinen verwendet.

This commit is contained in:
2026-06-01 10:22:24 +02:00
parent be69281af5
commit c30d2c51b9
6 changed files with 1191 additions and 0 deletions
+13
View File
@@ -60,6 +60,19 @@
(princ "\n[SSG_LIB] WARNUNG: DXFMAKRO nicht gesetzt, Menue nicht geladen!")
)
;; Python-Module laden (PyRx)
(if menu-pfad
(foreach pymod '("eckrad" "kreisel")
(if (findfile (strcat menu-pfad "/lib/elemente/" pymod ".py"))
(progn
(command "PYLOAD" (strcat menu-pfad "/lib/elemente/" pymod ".py"))
(princ (strcat "\n[SSG_LIB] Python-Modul " pymod ".py geladen."))
)
(princ (strcat "\n[SSG_LIB] HINWEIS: " pymod ".py nicht gefunden."))
)
)
)
(princ "\n[SSG_LIB] Startup abgeschlossen.")
)
)