Grzegorz
Grzegorz
Thanks for the answer. Yet on another topic. I haven't found an example of how to open a new empty document, add elements to it and save it. On various...
Yes, that was it, thank you! Coming back to the virtual environment, `python312.dll` can always be the same, so it all comes down to loading `\Lib\site-packages` into `sys.path` instead of...
I think I found the solution, just set `PYTHONPATH` to `\Lib\site-packages`
Yes, this should also solve the virtual environment issue (take into account the `VIRTUAL_ENV` environment variable). Also keep in mind that AutoCAD can be launched using the COM interface (`win32com.client.Dispatch`),...
I have the following debugging settings: launch.json ```json { "name": "Autocad attach", "type": "debugpy", "request": "attach", "connect": { "host": "127.0.0.1", "port": 5678 }, "justMyCode": false } ``` settings.json ```json {...
If the problem is only the display of errors, you can simply ignore them, as follows: ```py import PyRx as Rx # type:ignore import PyGe as Ge # type:ignore import...
For BricsCad to see the virtual environment (installed packages), the directory `\Lib\site-packages` must be added to `sys.path` To do this you have two options: 1. Set PYTHONPATH: ``` # \Scripts\activate.bat...
What do you mean by loader module?
Hi, Wednesday at the earliest.
Hi, I don't know how to use what you did. From what I see, I can use `PyRx.ini`, but only globally, this file is not searched in the current directory...