Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

COUNT DYNAMIC BLOCK INCLUDING TOTAL LENGTH

25 REPLIES 25
Reply
Message 1 of 26
tdcad
2257 Views, 25 Replies

COUNT DYNAMIC BLOCK INCLUDING TOTAL LENGTH

Hi all,

Can some one help me a lisp to count dynamic block including total lenght.

 

Thanks

25 REPLIES 25
Message 21 of 26
tdcad
in reply to: devitg

Pbejse,

I like it very much, thanks for BIG help.!

Message 22 of 26
pbejse
in reply to: tdcad


@tdcad wrote:

Pbejse,

I like it very much, thanks for BIG help.!



You';re welcome tdcad. I like it too.

Good to know we were able to get this over with Smiley Happy Enjoy.

 

Cheers

Message 23 of 26
Matul
in reply to: pbejse

Pbejse,

 

That LISP is a very very slick and nice way to get the BOM for the

blocks. I was wondering if you know how to write those

into a text box / field / attribute list so that it will show up

somewhere on the drawing (either pre-defined or to insert a new

table). I have been looking for a way to accomplish this but was

unable to. Your lisp accomplishes all but one of what I need to do -

add it to the face of the drawing.

 

I 've been trying to use the data extraction wizard an add-in for

text fields but that had mixed results and would not work for all I

am trying to do.

 

Thank you!

Matul

Message 24 of 26
mati.zaman
in reply to: pbejse

Hey 

Saw your code, its really cool

Im trying to help a friend out in similar situation, im kinda new with LISP myself

He wants to do something similar to this code you generated..

 

If you can see the attachment.. 

He wants a lisp to make a similar table, and at the same time update the marks (labels) for each block 

So if he copies that block over and changes the length of it, it makes renames the Mark to S-2, S-3 and so on

 

At the same point it can create that chart showing how many S-1's you have etc..

Would be glad if you can help out!

Thanks

Message 25 of 26
arukaroor
in reply to: _Tharwat

Hi Tharwat,

This lisp is working only in horizontal dynamic blocks. Can you modify this for vertical also. Here i am attaching my plumbing pipe block drawing for reference. I want to quantify total pipe length. Please help....

Message 26 of 26
Haytham.Waheed
in reply to: _Tharwat

this lisp is great, thanks for creating it.
would you please add an another factor to count with?, the factor is the attribute inside dynamic block, I'll give you an example:
some blocks has "RC2", "RC3" & "RC4".
now I need to have a table contains the total length of "RC2", "RC3" & "RC4".

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost