PyRx
PyRx copied to clipboard
Python for AutoCAD
#SR176790 - AcGsView::getSnapShot differences AcGsView::getSnapShot may not invert white geometry when background is white ```Python img: wx.Image = Gs.Core.getBlockImage(id, 64, 64, 1.0, [255, 255, 255]) ```
Hi, I have a question: at what point does PyRx decide on the choice of a specific python interpreter? During installation or when loading into AutoCAD? I would like to...
BricscCAD DLL conflicts with Python * -GDAL * -Sqlite, I can no longer generate .PYI files for Bricsys specific modules
### Discussed in https://github.com/CEXT-Dan/PyRx/discussions/40 Originally posted by **gswifort** April 10, 2024 Hi, are you planning to add docstrings for methods? i.e. docstrings with a description of what the method does.
I loaded [this file](https://github.com/CEXT-Dan/PyRx/blob/main/PySamples/testpylisp.py) into Autocad and Zwcad, everything is ok in Autocad, no function was registered in Zwcad: `error: undefined function - nil`
SR 177098 acdbDoSetupForLayouts and acdbClearSetupForLayouts These are used for side databases
`getActiveLayoutName` method returns the layout name for the current document, but `setCurrentLayout` sets the active layout for the given db. ```py import traceback from pyrx_imp import Db def PyRxCmd_doit1(): try:...
When you close one document, the `PYLOAD` and `PYRELOAD` commands disappear. Example steps: 1. Open the document - _the `PYLOAD` command works_ 2. Close the document 3. Open new document...
@CEXT-Dan hope you're well. Could use functionality to import 1) IFC, 2) classify entities (for example by layer name) and 3) export to IFC. I believe it's all BCAD verticals....
### Discussed in https://github.com/CEXT-Dan/PyRx/discussions/109 Originally posted by **gswifort** September 5, 2024 To make working with C++ exceptions easier I added tools to translate general C++ exceptions (`RuntimeError`) to specific types....