Skip to content

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

06 Aug 11:02

Choose a tag to compare

🛠 Release Notes – v0.1.10

✨ New Features

  • Added send_command() and send_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 APoint constructor
    Changed default x, y, z values from 0 to 0.0 to 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

24 Jul 04:52

Choose a tag to compare

add_table() function is fixed with manual table drawing algorithm

Full Changelog: v0.1.8...v0.1.9

Version Update

14 Jul 20:01

Choose a tag to compare

Documentation Added

Full Changelog: v0.1.7...v0.1.8

Fix : Added Missed Requirements & Version Change

14 Jul 19:27

Choose a tag to compare

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

05 Jul 06:31

Choose a tag to compare

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 / MaxPoint

with:

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

04 Jul 13:06

Choose a tag to compare

Common errors solved for the perfect work flow

Fix : Move object error fix

03 Jul 17:21

Choose a tag to compare

Move object error fix

AutoCADlib v0.1.3

03 May 07:34
a9cdb7e

Choose a tag to compare

Next Update

AutoCADlib v0.1.2

03 May 07:27

Choose a tag to compare

First release with AutoCAD automation features.