As here I have mentioned about the necessity of replacing of two text entities as well as provided a LISP routine towards its solution.
For a typical AutoCAD drawing using blocks with Attribs, same problems of replacing texts some times occur where we have to replace one ATTRIB with the another.
For example, In an architectural floor plan layout, If someone uses a block with attrib for the room numbering, sometimes room numbers have to be replaced. An AutoCAD draftsman might use built-in AutoCAD command DDATTE, but he has to modify both or sometimes more than 2 Attribs.
Hence I developed a LISP routine for replacing Attribs so as to work fast.
* AttribReplace.lsp (2Kb)
This command replaces two attrib values of same type of a block.
Sequence of command lines for this routine:-
Command: ATTR
Select FIRST Attrib:
Select SECOND Attrib:
Select FIRST Attrib:
(The command work continuously till you Enter or press "Esc".)
Download : AttribReplace.lsp
Showing posts with label BLOCK/ATTRIB. Show all posts
Showing posts with label BLOCK/ATTRIB. Show all posts
Sunday, September 7, 2008
Saturday, July 12, 2008
A command matches the attribute values of a source block
Following is a routine which is commonly relates to BLOCK/ATTRIB objects of the drawing.
It is useful for modifying or manipulating the BLOCK/ATTRIB objects.
* ATTRIBM.lsp (2Kb)
This command matches the attribute values of a source block to all selected target blocks. (Source & Target blocks should be of same name!)
Sequence of command lines for this routine:-
Command: ATM
Pick SOURCE block entity:
Select blocks to change their ATT_VALUES...
Select objects:
Download : ATTRIBM.lsp
It is useful for modifying or manipulating the BLOCK/ATTRIB objects.
* ATTRIBM.lsp (2Kb)
This command matches the attribute values of a source block to all selected target blocks. (Source & Target blocks should be of same name!)
Sequence of command lines for this routine:-
Command: ATM
Pick SOURCE block entity:
Select blocks to change their ATT_VALUES...
Select objects:
Download : ATTRIBM.lsp
Labels:
BLOCK/ATTRIB
Subscribe to:
Posts (Atom)