Current collected state Current
Observed since 20 Oct, 17:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A quick tool to extract block attributes and properties from AutoCAD drawings
A quick tool to extract block attributes and properties from AutoCAD drawings.
from acad_extractor import select_on_screen
print("Select AutoCAD blocks on screen")
names = []
attrs_list = []
props_list = []
handles = []
points = []
def callback(processed, total):
print(f"Processed {processed}/{total}")
print("-" * 70)
dt = select_on_screen(names, attrs_list, props_list, handles, callback, points)
print("-" * 70)
print(f"Processed {len(names)} at {dt} ms")
for i, name in enumerate(names):
print("-" * 70)
print(f"{name} {handles[i]} ({points[i][0]}, {points[i][1]}, {points[i][2]})")
for attr_name, attr_value in attrs_list[i]:
print(f"attr {attr_name} = {attr_value}")
for prop_name, prop_value in props_list[i]:
print(f"prop {prop_name} = {prop_value}")
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.9 | 23 Jun 2024 | 0 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 17:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7531ec04e5329205dec90fd794e6666bcddd5316f6e847ce37df22ef763df2f6