Releases: Jsweb-Tech/AutoCAD
Fix: Use float defaults (0.0) in APoint to ensure correct type inference & Feature : added send_command() and send_commands() functions
🛠 Release Notes – v0.1.10
✨ New Features
-
Added
send_command()andsend_commands()methods
These methods allow you to programmatically send command strings to the AutoCAD command line:send_command(command_string)— sends a single command (asynchronously).send_commands(commands)— sends a sequence of command strings in order.
⚠️ Note: These operations are asynchronous; commands requiring user interaction or long processing may need delays or alternative handling.
🐛 Bug Fixes
- Fixed default value types in
APointconstructor
Changed defaultx,y,zvalues from0to0.0to ensure proper float type inference. This resolves unintended behavior where arguments were inferred as integers.
Thanks to @Thomas737 for spotting this!
Full Changelog: v0.1.9...v0.1.10
Bug fix: Add Table
add_table() function is fixed with manual table drawing algorithm
Full Changelog: v0.1.8...v0.1.9
Version Update
Documentation Added
Full Changelog: v0.1.7...v0.1.8
Fix : Added Missed Requirements & Version Change
Release Notes
- Added missed requirements to setup
- Updated version number to reflect changes
Full Changelog: v0.1.6...v0.1.7
Fix : GeometricExtents not working so used GetBoundingBox to get min an max point of entity
Sure! Here's a professional and concise GitHub issue response you can post to indicate the fix:
✅ Resolved
The issue occurred because .GeometricExtents is unreliable for certain entity types (especially AcDbBlockReference) when accessed via COM in Python. It often raises <unknown>.GeometricExtents errors due to internal limitations in the AutoCAD COM API.
I've fixed this in the latest version of the library by replacing:
entity.GeometricExtents.MinPoint / MaxPointwith:
entity.GetBoundingBox()This method is much more stable and returns accurate extents even for block references, respecting rotation and scaling.
Please pull the latest version of the library — the get_block_extents() function now uses GetBoundingBox() internally.
Fix : Common Errors Solved
Common errors solved for the perfect work flow
Fix : Move object error fix
Move object error fix
AutoCADlib v0.1.3
Next Update
AutoCADlib v0.1.2
First release with AutoCAD automation features.