eltsq 发表于 2022-7-7 14:15:07

Exporting extended data?

Hi,
 
I have added some text to lines and polylines as extended data (Properties -> Extended data -> Notes). Is there some lisp or command with which I could export that data into txt file? Including the coordinates of the line.
 
Thank you

BIGAL 发表于 2022-7-7 15:20:15

Just do the inverse of your add xdata and "get" data, you have picked the line so its properties include a wealth of stuff including start and end points. really need your dwg to comment further need stuff like your dictionary name.
 
start end line

(setq ent (entget (car (entsel "\nSelect line:" ))))(setq stpt (assoc 10 ent))(setq endpt (assoc 11 ent))
页: [1]
查看完整版本: Exporting extended data?