Lee Mac Posted June 9, 2010 Author Posted June 9, 2010 Do you get an error when you select 'Settings'? Quote
The Buzzard Posted June 9, 2010 Posted June 9, 2010 Do you get an error when you select 'Settings'? No errors at all. The program seems to be all command prompt. I see the dialog definition in the code, But still no dialog. Command: Command: Command: _appload Count V1.1.lsp successfully loaded. Command: ø¤º°`°º¤ø Count.lsp ~ Copyright © by Lee McDonnell ø¤º°`°º¤ø ~¤~ ...Type "Count" to Invoke... ~¤~ Command: Command: COUNT Select Blocks to Count <All> : *Cancel* Quote
Lee Mac Posted June 9, 2010 Author Posted June 9, 2010 Most of the program is Command line - the Dialog is for the Settings Quote
The Buzzard Posted June 9, 2010 Posted June 9, 2010 Most of the program is Command line - the Dialog is for the Settings Ok , So how do I get to Settings? Quote
Lee Mac Posted June 9, 2010 Author Posted June 9, 2010 Make a Selection of Blocks/Press Enter to Select All Blocks Quote
The Buzzard Posted June 9, 2010 Posted June 9, 2010 Make a Selection of Blocks/Press Enter to Select All Blocks Done that, The only thing I get after that is a Text Window with the block name and qty. Quote
Lee Mac Posted June 9, 2010 Author Posted June 9, 2010 Done that, The only thing I get after that is a Text Window with the block name and qty. Ahh, are you using 2004? Quote
Lee Mac Posted June 9, 2010 Author Posted June 9, 2010 Yes, and 2009 The Dialog is to Control the Table Settings, and I believe Tables were only introduced in 2005+. Hence in versions earlier than 2005, you only get the text screen and not the delights of the dialog Quote
The Buzzard Posted June 9, 2010 Posted June 9, 2010 Ok, I see Settings in 2009. I guess this is a version thing. Quote
Lee Mac Posted June 9, 2010 Author Posted June 9, 2010 Ok, I see Settings in 2009. I guess this is a version thing. Yup - I think I put it in the header Quote
The Buzzard Posted June 9, 2010 Posted June 9, 2010 Yup - I think I put it in the header Yes, you are right. Sorry. I will fiddle with it in 2009. Thanks Quote
Lee Mac Posted June 9, 2010 Author Posted June 9, 2010 Not a problem - thanks for your interest in the program Quote
sachindkini Posted June 28, 2010 Posted June 28, 2010 (edited) An extension of a recent block counting program I created, this should be a lot faster and provides a lot more options regarding the final display of block count data. The program will count all blocks in the drawing or a user selection, including dynamic blocks, and display the results at the command line and optionally, in a table (with ACAD 2005+). Feedback is welcome ;;;¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,;;; ;;;ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,¤º°`°º¤;;; ;; ;; ;; ;; ;; --=={ Count.lsp Advanced Block Counter }==-- ;; ;; ;; ;; Program will count the number of occurrences of all standard and dynamic ;; ;; blocks in a drawing or user specified selection. ;; ;; ;; ;; The resultant data is displayed in an ACAD Table should the program be ;; ;; run in AutoCAD 2005+, and at the command line. ;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;; FUNCTION SYNTAX: COUNT ;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;; AUTHOR: ;; ;; ;; ;; Copyright © Lee McDonnell, June 2010. All Rights Reserved. ;; ;; ;; ;; { Contact: Lee Mac @ TheSwamp.org, CADTutor.net } ;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;; VERSION: ;; ;; ;; ;; ø 1.0 ~¤~ 5th June 2010 ~¤~ º First Release ;; ;;...............................................................................;; ;; ø 1.1 ~¤~ 6th June 2010 ~¤~ º Updated code to include settings ;; ;; dialog. ;; ;; º Added Undo Marks. ;; ;;...............................................................................;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;;;¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,;;; ;;;ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,¤º°`°º¤;;; --=={ Code Updated to Version 1.1 }==-- Dear Sir, Using count lisp It’s very useful But I’ am using mm drg Insert the table it's very small. ever time I’ am give scale command any solution on this problem Edited July 20, 2010 by sachindkini Quote
sachindkini Posted July 20, 2010 Posted July 20, 2010 Dear Sir, Using count lisp It’s very useful But I’ am using mm drg Insert the table it's very small. ever time I’ am give scale command any solution on this problem Quote
antistar Posted July 20, 2010 Posted July 20, 2010 Lee, There are how to implement in your routine with an extra column amounts of blocks multiplied by the amount entered by the user? Thanks in advance. Quote
Lee Mac Posted July 20, 2010 Author Posted July 20, 2010 Scamaru, Thanks for your interest in the program - I do not however wish to modify this program to suit the needs of one user, with the possibility of incurring negative effects for the majority of users. Lee Quote
antistar Posted July 20, 2010 Posted July 20, 2010 Lee, I fully understand your position. Thank you for your attention and congratulations for the code. Quote
tzframpton Posted July 20, 2010 Posted July 20, 2010 Freaking awesome program, Lee. Just got added to the suite of LISP files we use daily. 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.