Skip to main content

A quick tool to extract block attributes and properties from AutoCAD drawings

Project description

acad-extractor

A quick tool to extract block attributes and properties from AutoCAD drawings.

Usage

from acad_extractor import select_on_screen

print("Select AutoCAD blocks on screen")
names = []
attrs_list = []
props_list = []
handles = []
dt = select_on_screen(names, attrs_list, props_list, handles)
print(f"{len(names)} at {dt} ms")
for i, name in enumerate(names):
    print("-" * 70)
    print(f"{name} {handles[i]}")
    for name, value in attrs_list[i]:
        print(f"attr {name} = {value}")
    for name, value in props_list[i]:
        print(f"prop {name} = {value}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

acad_extractor-1.0.4-cp39-none-win_amd64.whl (73.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

File details

Details for the file acad_extractor-1.0.4-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for acad_extractor-1.0.4-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 a41c12c665df7208f6b7ac1dc7d00119ea7978a9f98ea36d1a5ee44bb6a7f8d6
MD5 a0fa1cde3ea31bb77e70bf8ca502f24f
BLAKE2b-256 eba8f8963908ec2a78c4f949377fc9201e69ff6f25eda8ef91e7c2ccdb993050

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page