todouble22 Posted July 20, 2010 Posted July 20, 2010 Well done Lee per usual. This has been very useful. Quote
Lee Mac Posted July 20, 2010 Author Posted July 20, 2010 Well done Lee per usual. This has been very useful. Thanks Todd, appreciated as always. Quote
mexxx_ Posted July 21, 2010 Posted July 21, 2010 Hello - very nice LISP. If it is to be inserted possibly the visibility status by dynamic blocks? Quote
Lee Mac Posted July 21, 2010 Author Posted July 21, 2010 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 Quote
mexxx_ Posted July 22, 2010 Posted July 22, 2010 Thank you - this would be great. I have some symbols about the visibility status of dynamic blocks. Quote
monk Posted July 28, 2010 Posted July 28, 2010 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. Quote
Lee Mac Posted July 28, 2010 Author Posted July 28, 2010 Haven't got much time recently guys, but I'll see to it when I can. Quote
Bill_601 Posted August 30, 2010 Posted August 30, 2010 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 Quote
Lee Mac Posted August 30, 2010 Author Posted August 30, 2010 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 Quote
ids3rd Posted September 14, 2010 Posted September 14, 2010 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 Quote
Lee Mac Posted September 16, 2010 Author Posted September 16, 2010 Thanx! Works great... Thank youo:) You're very welcome guys, glad you like the program Quote
piscopatos Posted November 18, 2010 Posted November 18, 2010 any idea why do i get this error ? Command: Command: COUNT Select Blocks to Count : ** Error: bad argument type: fixnump: nil ** Command: Quote
Lee Mac Posted November 18, 2010 Author Posted November 18, 2010 Hi Piscopatos, I can't seem to reproduce that - does it still happen after restarting AutoCAD? Quote
piscopatos Posted November 18, 2010 Posted November 18, 2010 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. Quote
Lee Mac Posted November 18, 2010 Author Posted November 18, 2010 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 Quote
piscopatos Posted November 19, 2010 Posted November 19, 2010 (logand 45 (cdr (assoc 70 (tblsearch "BLOCK" (setq n (BlockName obj)))))) this code was selected as last break source Quote
Recommended Posts
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.