Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.56 KB

READMEINSTALL.md

File metadata and controls

36 lines (23 loc) · 1.56 KB

Install python (64 bit) python3.12.X with the ❗PATH checkbox❗ set to true.

Python install,

Environment paths should look like this

Environment

install wxPython 4.2.2 from https://pypi.org/project/wxPython/ in powershell, run "pip install wxPython"

Run the PyRxSetup installer https://github.com/CEXT-Dan/PyRx/releases

The bulk of the stuff is installed into: %AppData%\Local\Programs\PyRx And Loader files for AutoCAD are in %AppData%\Roaming\Autodesk\ApplicationPlugins\PyRx.bundle

win32com must be installed if you would like to use the ActiveX libraries pip install pywin32, https://pypi.org/project/pywin32/

Other recommended python libraries. debugpy for attaching to CAD and debugging, https://pypi.org/project/debugpy/

For the best programming experience, you may want to consider using VS code as your Python editor, you will want to make sure you setup VS Code so it can see the stub files in %AppData%\Local\Programs\PyRx\stubs

BricsCAD, ZwCAD and GstarCAD BRX, ZRX and GRX libraries are installed in %AppData%\Local\Programs\PyRx. Use the appload command and navigate to load the files. add to your startup suite

If the module does not load the first time around. Run (setenv "PYRX_LOG" "1") from lisp. The next time you attempt to load the module, some information will be printed on the screen

BricsCAD users, This these modules have nothing to do with BricsCAD BIMPYTHON.