PDA

View Full Version : Grid lines with auto numbers?



wpeacock
2004-06-15, 11:40 PM
Using AC2K

When drawing set out grid lines with reference numbers and or letters does any one have a quick way to (multilpe) copy the grid line and its reference circle (bubble) and "here is the idle part" the number or letter increases by 1 each time it is copied.

may be a lisp programme thing or just a pie in the sky wish list.....


Wayne

Mike.Perry
2004-06-16, 07:36 AM
Hi

A search on the web will turn up many routines that meet your requirements, to get you going in the right direction check out the following -

Check out the following submission #EX001374 on the AUGI Exchange Page -

AUGI Exchange Search Page (http://64.227.78.21/empower/exchange/searchdownloads.asp)

+

COLGRID.ZIP found on the web (http://www.cadresource.com/library/lispbc.html)

Have a good one, Mike

Maverick91
2004-06-16, 02:51 PM
Take a look at the TCOUNT command in the Express Tools. Click on Express>Text>Automatic Text Numbering. It might be helpful. It's a good idea to review the command in the Help menu for Express Tools.

wpeacock
2004-06-17, 04:50 AM
Just checked my Express tools option > text > automatic text, but I don't have this option? Is there a new version of Express Tools?
I'm using the one bundled from AC2K....

Wayne

wpeacock
2004-06-17, 05:05 AM
Check out the following submission #EX001374 on the AUGI Exchange Page -

COLGRID.ZIP found on the web (http://www.cadresource.com/library/lispbc.html)

Have a good one, Mike

Mike

This sounds like just the thing I'm looking for.
Not being a "lisper" how do I activate it?
I've loaded the lisp programme in to my drawing template file thinking that this will demand load the lisp routine every time I open the drawing but how do you activate the command?

Regards

Wayne

Mike.Perry
2004-06-17, 07:08 AM
Hi

There are many ways a .LSP file can be loaded, thus ensuring it's available for use in every drawing file that's opened, probably the easiest method -

Take a look at placing the routine within the Startup Suite via APPLOAD

PullDownMenu: Tools -> AutoLISP -> Load

Another simple method to load a .LSP file for use into the current open drawing (only) is to drag-and-drop the .LSP file from a Windows Explorer onto the current open drawing within AutoCAD; if you use this method you should see the following returned to the AutoCAD command line -

(LOAD "PathName/COLGRIDS.LSP") C:COLGRIDS

Where COLGRIDS is the command name to be typed at the AutoCAD command line to run the routine.

Another way to find the .LSP command name is to open the .LSP file (a simple Text Editor like Notepad will do) and look for a line that begins -

(defun c:LISPCommandNameHere

defun -> Defines a function

c: -> Enables the command name (symbol) that follows to be run from the AutoCAD command line just like a native AutoCAD command

Therefore in the case of COLGRIDS.LSP -

(defun c:colgrids

Note - the .LSP file name does *not* have to match the command name defined within the routine; it just so happens it's the case with COLGRIDS.LSP

Have a good one, Mike