- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is ther any way to change a name of a block?
Solved! Go to Solution.
Is ther any way to change a name of a block?
Solved! Go to Solution.
I do not know.
You can open the block for edit, then «save block as», give new name for block, then purge block with old name.
Hi,
>> Is ther any way to change a name of a block?
Command _RENAME
- alfred -
the rename command
Michael Kovacik
2d & 3d Autocad and Inventor designer/draughtsman
.
Draughting/Designing (Manufacturing) (31 yrs)
-Drawing Board (3 yrs)
--Cad (28 yrs)
---Cadkey (4 yrs)
---AutoCAD 2d & 3d (16 yrs)
---Inventor (4 yrs)
---Autocad and Inventor Simultaneously (4 years)
---(and recently Autocad/Inventor Customisation)
.
Autodesk Product Design Suite Ultimate 2018
Autocad 2018, Inventor Pro 2018
(personal licensed copy)
.
Johannesburg, South Africa
.
(Impossible only means you haven't
found the solution yet)
If you'd like to be able to do it by selecting a Block insertion, without needing to know what its name is to use in the RENAME dialog box, check out RenameBlock.lsp with its RB command, available >>here<<. This is especially handy when the Block is the result of using PASTEBLOCK and has a name like A$CFG5D32S.
Kent
That is really cool!
I will download and use it here at home, and introduce it at work as well.
I am going to introduce using of lisp at work as well,
and start a work AutoCAD Hints &Tips,
This will be AutoCAD Hint & Tip No 1
Mike
@MikeKovacik4928 wrote:
....
I am going to introduce using of lisp at work as well, and start a work AutoCAD Hints &Tips, This will be AutoCAD Hint & Tip No 1
....
A closely-related suggestion for Tip No 2 -- PasteBlockWithName.lsp, available >>here<<, which prevents those wacky A$CFG5D32S Block names that result from PASTEBLOCK from getting into your drawing in the first place. It does it by redefining the command to require you to give a PASTEBLOCKed Block a meaningful name when you bring it in. If that kind of wacky name is a major reason you want to have RenameBlock.lsp / RB on hand, this would eliminate the need for it in that situation [except for pre-existing wacky names], though RB is still useful, since it can also be used to change other-than-wacky names.
Kent
Thanks
When you copy with base point a whacky named block from another drawing, and then paste it, into a new drawing nothing changes.
However when you paste it as a block, as you say, it asks for a new name.
this however makes it into a nested block which when exploded becomes the same wacky name again.
It is a nice lisp routine, I will keep it and see if I can put it to use
I will put it as my AutoCAD Hint and Tip No 2, anyway
Mike
@MikeKovacik4928 wrote:
...
When you copy with base point a whacky named block from another drawing, and then paste it, into a new drawing nothing changes.
However when you paste it as a block, as you say, it asks for a new name.
this however makes it into a nested block which when exploded becomes the same wacky name again.
....
True -- it doesn't "fix" a wackily-named Block if that's your source object. It affects only the Block name within the current drawing of clipboard material brought in via PASTEBLOCK [everything on the clipboard collectively, whether that's one object or more], but not that of a Block object that already has a name, when brought in from another drawing that way -- that would just be an object that retains the properties it had in the source drawing, just as a Line would when included in the clipboard material.
To fix such a Block name when you bring it into the current drawing, you would need to use either ordinary PASTE rather than PASTEBLOCK, or the Design Center, followed by RB [or better yet, use RB on it in the source drawing first].
Thanks Kent
Noted, will bear that in mind.
Mike
Thats was easy thank you.