Jump to content

Block Counter (Includes Dynamic Blocks)


Lee Mac

Recommended Posts

  • Replies 131
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    58

  • The Buzzard

    7

  • autolisp

    5

  • piscopatos

    4

Top Posters In This Topic

Posted Images

Hello - very nice LISP. If it is to be inserted possibly the visibility status by dynamic blocks?

 

True, perhaps I could add this as an option in a future version :)

Link to comment
Share on other sites

I am the same as mexxx, an option to specify visibility states of some sort. I have one dynamic block of a FCU, with 7 visibilities all different FCU's (fused connection units) A count for a specific one would be good.

Link to comment
Share on other sites

  • 1 month later...

Lee,

 

I've been searching far and wide for something like this. You really went the whole nine yards on the output. Counting all the blocks, dynamic or otherwise, would have been great, but the table with the previews is fantastic.

 

Bill

Link to comment
Share on other sites

Lee,

 

I've been searching far and wide for something like this. You really went the whole nine yards on the output. Counting all the blocks, dynamic or otherwise, would have been great, but the table with the previews is fantastic.

 

Bill

 

Thanks Bill, I'm really glad you like the program - I enjoyed writing it :)

Link to comment
Share on other sites

  • 2 weeks later...

Hi this works great - the proble is my blocks have an attribute letter that is changed by the user.

ie the same block called "600x600" might be labelled with an A or any letter.

This would then be repeated around the drawing.

So in summary we use the same block for different uses and change its value.

in your table i only get the default letters appear and not the user enterred ones - could you quickly change a line or two so that is outputs that into the table instead.

hope this is poss - and realise we all have normal jobs too.

 

thanks

Link to comment
Share on other sites

  • 2 months later...

its been a while now since this error occured, i restarted the autocad alot since then. it used to work just fine but after i installed autocad mep 2010, i got this lovely error pumpin up on the command line. i uninstalled the autocad and autocad mep then reinstalled just the autocad to get the count command workin and running again but there was no use.

it would be great to be able to use this again.

Link to comment
Share on other sites

Ok, to determine at what line the code fails, you can use the VLIDE:

 

 

  • VLIDE at the command line.

 

  • Open Count.lsp (Ctrl+O)

 

  • Debug Menu >> Break on Error (ticked)

 

  • Load Program (Ctrl+Alt+E)

 

  • AutoCAD: Run Program

 

  • VLIDE: Debug Menu >> Last Break Source

[ Post the code that fails ]

  • VLIDE: Reset Error (Ctrl+R)

 

 

Lee

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...