Message 1 of 4
shape

Not applicable
04-20-2006
07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi
I' have a Paleo-problem
if I have complex lines with shapes and I want to read propertiesI do so:
(setq de (entget entity-name)
ly (cdr (assoc 8 de))
s1 (cdr (assoc 48 de))
dy (tblsearch "LAYER" ly)
st (cdr (assoc 6 dy))
dt (entget (tblobjname "LTYPE" st)) ;linetype properties
ne (cdr (assoc 73 dt)) ;Numbers of elemets
le (cdr (assoc 40 dt)) ;length
dt (member (assoc 49 dt) dt) ; part of the list
)
foreach element I read
(setq shape (cdr (assoc 75 dt)))
shape is a number!
Where can I find in autocad the corresponding name of shape?
thank you
I' have a Paleo-problem
if I have complex lines with shapes and I want to read propertiesI do so:
(setq de (entget entity-name)
ly (cdr (assoc 8 de))
s1 (cdr (assoc 48 de))
dy (tblsearch "LAYER" ly)
st (cdr (assoc 6 dy))
dt (entget (tblobjname "LTYPE" st)) ;linetype properties
ne (cdr (assoc 73 dt)) ;Numbers of elemets
le (cdr (assoc 40 dt)) ;length
dt (member (assoc 49 dt) dt) ; part of the list
)
foreach element I read
(setq shape (cdr (assoc 75 dt)))
shape is a number!
Where can I find in autocad the corresponding name of shape?
thank you