Jump to content

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

Posted

Well done Lee per usual. This has been very useful.

Posted
Well done Lee per usual. This has been very useful.

 

 

Thanks Todd, appreciated as always.

Posted

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

Posted
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 :)

Posted

Thank you - this would be great. I have some symbols about the visibility status of dynamic blocks.

Posted

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.

Posted

Haven't got much time recently guys, but I'll see to it when I can. :)

Posted

no problemo, all your stuff is great! Cheers!

  • 1 month later...
Posted

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

Posted
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 :)

  • 2 weeks later...
Posted

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

Posted
Thanx! Works great...

 

Thank youo:)

 

You're very welcome guys, glad you like the program :)

  • 2 months later...
Posted

any idea why do i get this error ?

 

Command:

Command: COUNT

Select Blocks to Count :

 

** Error: bad argument type: fixnump: nil **

Command:

Posted

Hi Piscopatos,

 

I can't seem to reproduce that - does it still happen after restarting AutoCAD?

Posted

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.

Posted

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

Posted

(logand 45 (cdr (assoc 70 (tblsearch "BLOCK" (setq n (BlockName obj))))))

 

this code was selected as last break source

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...