While working on modifying the drawing objects, one needs to HIGHLIGHT the previous selected objects so as to change their properties (such as LAYER, COLOR, LINETYPE etc.)
A normal drafter would simply give the command "SELECT" & when the "Select Objects" prompt came, he/she type "P"
& so goes the previous selected objects HIGHLIGHTed.
Its OK.
But .... How about getting the previous selected objects HIGHLIGHTED just by Entering a command name in the command-line?
So simple man.
Grab this LISP.
* HighlightObjs.lsp (1Kb)
This command HIGHLIGHTS the previous selected objects.
Sequence of command lines for this routine:-
Command: SEH
Download : HighlightObjs.lsp
Tuesday, September 2, 2008
SAVING a selection-set with your favorite name?
How about SAVING a selection-set with your favorite name?
In a drawing session, sometimes we need to save a selection of entities without using GROUP command, so that we can use this same selection later.
This small LISP routine fills up your requirement.
* SAVESET.lsp (1Kb)
This command SAVES a selection-set with your given name.
Sequence of command lines for this routine:-
Command: SVS
Type a name for this selection-set:
Select objects:
Download : SAVESET.lsp
In a drawing session, sometimes we need to save a selection of entities without using GROUP command, so that we can use this same selection later.
This small LISP routine fills up your requirement.
* SAVESET.lsp (1Kb)
This command SAVES a selection-set with your given name.
Sequence of command lines for this routine:-
Command: SVS
Type a name for this selection-set
Select objects:
Download : SAVESET.lsp
Labels:
group,
Select,
Selection set
Monday, September 1, 2008
Text Replacement ...!
While working on TEXT entities, I had forced to make several LISP routines. First I think its a complex job as TEXT includes alpha-numeric characters as well as in AutoCAD it is inserted as a single line TEXT & multi-line also.
But later on I got interest & still happy to make any kind of LISP related to TEXT.
In Electro Mechanical drawings, such as in "Panel-Board Schedules" more & more times a drafter has to replace one text value to another. What to do?
Some find it easy to EDIT them using DDEDIT. But what if we have a large no. of values to be replace with each other? Isn't it a trouble some & time wasting job?
So came this LISP routine.
Just pick one text & then other .... wow...
You can see the values will be replace instantly !!
* TextReplace.lsp (3Kb)
This command replaces two text objects.
Sequence of command lines for this routine:-
Command: TRP
Select FIRST text:
Select SECOND text:
Select FIRST text:
(The command work continuously till you "Enter" or press "Esc".)
Download : TextReplace.lsp
But later on I got interest & still happy to make any kind of LISP related to TEXT.
In Electro Mechanical drawings, such as in "Panel-Board Schedules" more & more times a drafter has to replace one text value to another. What to do?
Some find it easy to EDIT them using DDEDIT. But what if we have a large no. of values to be replace with each other? Isn't it a trouble some & time wasting job?
So came this LISP routine.
Just pick one text & then other .... wow...
You can see the values will be replace instantly !!
* TextReplace.lsp (3Kb)
This command replaces two text objects.
Sequence of command lines for this routine:-
Command: TRP
Select FIRST text:
Select SECOND text:
Select FIRST text:
(The command work continuously till you "Enter" or press "Esc".)
Download : TextReplace.lsp
Labels:
Draw,
Text,
Text Replace
Subscribe to:
Posts (Atom)