minhphuong_humg 发表于 2022-7-5 23:44:30

Please, help me extract data D

Hello, I have a some problem hope everybody help me.
With the help of Super Member steven-g and of myself trying, I finished drawing with Dynamic blocks and Attribute blocks.
Now I have a lisp to export to excel (2010) as the table attached drawings.
Please help me write a lisp to do it!
Thank you very much.
File image:
http://www.mediafire.com/view/bolzs7ao800xgdc/original.png
File cad:
http://www.mediafire.com/download/2gr184zwr1qk1c1/Dynamic%20Block%20Full.dwg
File excel:
http://www.mediafire.com/view/epag21ja65775ol/Dynamic.xls

WPerciful 发表于 2022-7-6 00:07:59

When you run the routine did you want to select each block, or did you want the routine to select blocks for you?
If you want the routine to select the blocks for you and then get their attribute value, what is the block name/s?

minhphuong_humg 发表于 2022-7-6 00:18:36

Dir WPerciful,
The block name is DimPC (Dynamic blocks) and Buble (Attribute blocks).
Please, help me.
Thank you very much.

WPerciful 发表于 2022-7-6 00:29:58

So you want a routine that will get the attribute values for all "DimPC" and "Buble" blocks in a file then export those values to an excel file?

minhphuong_humg 发表于 2022-7-6 00:36:04

Dir Wperciful,
I mean exactly that.
Please, help me write a lisp extract data to the same file excel attach.
Thank you.

marko_ribar 发表于 2022-7-6 00:46:07

Please, look this solution here :
 
http://www.theswamp.org/index.php?topic=46057.msg511617#msg511617
 
M.R.
页: [1]
查看完整版本: Please, help me extract data D