Bricscad exe als Pfad dazu. .lsp Files werden per Env Variable geladen
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
;; ============================================================
|
||||
;; TEIL 1: GLOBALE EINSTELLUNGEN
|
||||
;; ============================================================
|
||||
(setq modul-pfad "C:/Users/y.wang/Documents/BricsCAD/Library/Blocks/")
|
||||
(setq modul-pfad (strcat (getenv "DXFM_BLOCKS") "/"))
|
||||
(setq doc (vla-get-ActiveDocument (vlax-get-acad-object)))
|
||||
(setq modelspace (vla-get-ModelSpace doc))
|
||||
|
||||
|
||||
@@ -19,6 +19,10 @@ set "DXFM_CFG=%DXFMAKRO%\cfg"
|
||||
set "DXFM_BLOCKS=%DXFMAKRO%\Blocks"
|
||||
set "DXFM_LISP=%DXFMAKRO%\Lisp"
|
||||
|
||||
set BRICSCAD="C:\Program Files\Bricsys\BricsCAD V25 de_DE\bricscad.exe"
|
||||
|
||||
|
||||
|
||||
REM Python-Pfad erweitern (nur wenn noch nicht vorhanden)
|
||||
echo %PYTHONPATH% | find /i "%DXFM_LIB%" >nul
|
||||
if errorlevel 1 (
|
||||
|
||||
Reference in New Issue
Block a user