Replies: 4 comments 15 replies
|
I would like to remove %localappdata%\Programs\PyRx and put the entire package into ..\site-packages\pyrx One option is you use CAD profiles for VENV? Does ZwCAD have Command Line Switch? Maybe a “global” loader could be another project? |
|
Ok, I’ll start by making the loader work from anywhere, I.e. ..\site-packages\pyrx, %localappdata%\Programs\PyRx, or in an AutoCAD bundle |
|
PyRxLoader, in the global path seems to load VENV |
|
here: it's missing: |

Uh oh!
There was an error while loading. Please reload this page.
Based on issue #145
So we assume that the loader (e.g. RxLoader25.0.arx) and the main module (e.g. PyRx25.0.arx) will be in python packages (...\site-packages\pyrx...) and based on the current environment (whether global or venv) the appropriate main module will be loaded. In my opinion the loader should not be tightly linked to the main module. I assume that the loader can be permanently added to the CAD start list and based on the python environment context the appropriate main module will be loaded. I think that after installing
pyrxviapipthere should be a commandpython -m pyrx install-globalwhich will copy the loader to%localappdata%\Programs\PyRxand this loader will be permanently linked to the CAD start list.All reactions