NEED HELP MODING THIS LISP

NEED HELP MODING THIS LISP

nikm42Q9N
Advocate Advocate
879 Views
3 Replies
Message 1 of 4

NEED HELP MODING THIS LISP

nikm42Q9N
Advocate
Advocate

Hello ACAD gurus,

 

What I need is to use the EATTXT command but to skip all the menus ( saving files, selecting the block, selecting pcs, re ordering the columns and saving again) and I need to just get to the table to insert into the drawing. So in short I highlight all my tags and it pops out a table with no fuss

 

I have found this ATTCOUNT LSP ,my apologies to the author but I forgot where I got it. and I think it will do the job it just has some issues

 

1. It seems to add up all the lengths of each pc and give me a total in the chart. I just need the length of the pc listed there

2. I need to add a quantity column to the chart

 

attached is a file and the LSP code 

0 Likes
Accepted solutions (1)
880 Views
3 Replies
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant
Accepted solution

Try this one. Note that it's not a versatile solution anymore. 

0 Likes
Message 3 of 4

nikm42Q9N
Advocate
Advocate

you sir are a saint thanks so much its perfect . what do yo mean by not a veritable solution anymore?

0 Likes
Message 4 of 4

ВeekeeCZ
Consultant
Consultant

The correct functionality is limited on you that specific block. Not to any block with attributes. For that reason, now the selection is limited on SCI_TAG blocks only.

0 Likes