AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rename multiple blocks

34 REPLIES 34
SOLVED
Reply
Message 1 of 35
Anonymous
2882 Views, 34 Replies

rename multiple blocks

HI TO EVERYONE

i am still looking for a simple lisp to  rename multiple blocks at once in the same drawing

i mean different block names to one name

any ideas?!

34 REPLIES 34
Message 21 of 35
Anonymous
in reply to: АлексЮстасу

where do i find this tool MAPEXPORT all blocks with an attribute ?

i am using autocad map3d 2015

i also attached the file

MAP.jpg

Message 22 of 35
Anonymous
in reply to: АлексЮстасу

where do i find the MAPEXPORT all blocks with an attribute

i am using autocad map3d 2015

i also attached the file

Message 23 of 35
АлексЮстасу
in reply to: Anonymous

See your image.

block_attr.png
Or you can write at the bottom of the AutoCAD window on the command line: MAPEXPORT.

(MAPEXPORT, MAPIMPORT - AutoCAD commands)
The format is not important. I like mif / mid - text, can be manually corrected. Many people like shp more.
Export - specify the necessary blocks:

MAPEXPORT_attributes_blocks_attr.png
Import - specify one block:

MAPIMPORT_attributes_blocks_attr.png

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 24 of 35
Anonymous
in reply to: АлексЮстасу

i cant select create as blocks

it wont let me

its grayADSFASF.png

Message 25 of 35
АлексЮстасу
in reply to: Anonymous

There should be a block description in dwg. For example, copy the block you want in dwg and delete.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 26 of 35
Anonymous
in reply to: АлексЮстасу

ok it worked but......

still it changes the text in the blocks into one 

i need the text in each block to stay the same

Message 27 of 35
АлексЮстасу
in reply to: Anonymous

Have you enabled Get attribute values ...?

MAPIMPORT_attributes_blocks_attr.png

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 28 of 35
Anonymous
in reply to: АлексЮстасу

now it workeddddd

finally

just one last thing

it changed the blocks geometry from 0.25 to 1

what can i do to keep it as the way it was?

Message 29 of 35
Barzdil
in reply to: Anonymous

hello, are You talking about block scale?

Message 30 of 35
Anonymous
in reply to: Barzdil

I MEAN THISGEOMETRY.png

Message 31 of 35
Barzdil
in reply to: Anonymous

there are variuos Lisps to change block scales all at ones. Another way is to use command "adequery" with "alter properties" to do the same action. Again, both methods You can use with creating Your command macros routine via command line method, so in the final result You will have to press just once, and all Your blocks will be changed to right block names with right 0.25 scale.

Message 32 of 35

Hello. This ispt renaming blocks by matchinh the direction. I need to keep current direction of blocks . How can i modify it ?

Message 33 of 35

Hi,

 

ispt - ?

Please clarify the task.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 34 of 35

I mean this script.(Lisp Code).

For example my blocks like this and assume that all of them have different block names

Ekran görüntüsü 2023-11-27 092654.png

After i use the lisp block names became same but directions have changed. I need their directions remains the same

Ekran görüntüsü 2023-11-27 092726.png

 

  

Message 35 of 35

Hi,

 

Try replacing blocks using Query in MAPWSPACE.
I'm sorry, but I don't have an en-AutoCAD right now.

b-rename.png


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report