Does anyone have any info on where to find a Lisp
routine that will place a text Number everywhere I click
and automatically increment the value for the next one.
I have one on my site that will do that but the number has to be the only
attribute in a block (not text). You can pick any interval, starting number,
and alpha-numeric prefix.
It's called bseq.lsp , for Block SEQuencer.
LISP variables aren't saved in drawing files. But you have a number of
options:
(1) Set one of the user variables (USERRn, USERIn) to the the value
contained in *last_num* before you exit the routine;
(2) Attach the value to an object in the drawing as XDATA;
(3) Use a catalog.
(3) Write a little temporary file containing the saved value;
(4) Set an environment variable in the registry.
You should be able to find details on most of these options in HELP
(Customization Guide).
___
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.