is there anyway that i can edit layout name as file name without opening, i got too many files to change layout as name of dwg file was hoping to find way could do it faster for me and thanks.
You can save the file as DXF, open it with any text-editor such as Notepad, find-and-replace the layout's string name and finally save it again as dxf.
To automate the process, you can try batch files (How to create and run batch file on W10), Microsoft PowerShell or Microsoft Power Automate (Microsoft Power Automate).
It depends on logic of the renaming but our JTB Batch Change app can help. The Rename tab allows you to rename layouts.
Yes, it is possible with using the AutoCAD scripting and quite easy.
is there all cad files are in the same folder?
what is the default layout name?
if you can tell me the above thing I can help you in writing the script which can do your task easily.
yes its same foldar but names of layout already different in each cad file like 991-DR-00 : 991-DR-01
nd so on i only wanna change this dr to something else but name of cad file is already sit to the right name
open
"<drawing full path>"
-layout
r
123 ( here you will need to eneter your dwg file name & remove brcaketed contain)
qsave
open
"<drawing full path>"
-layout
r
456 ( here you will need to enter your dwg file name & remove bracketed contain)
qsave
edit: paste above code in notepad and save as .scr file format.
edit the attached script file and update it as per your file name and layout name.
to copy the full address of your file you just need to select all your .dwg files.
then press and hold the shift key + right-click on the mouse you will get the option shown as below image
and select " copy as path " then paste it in excel or notepad.
use this path in the attached .scr file and save it.
then just drag this script file in the AutoCAD window. it will perform all actions.
let me know you need further help.
Window explorer does not show the "COMMAND as shown in red circle
Which soft ware show this
you will need to press and hold shift then use the right click of your mouse you will get this menu.
it is windows features.
Read the answer again and you learn new things about the Windows Explorer 😉
Sebastian
Can't find what you're looking for? Ask the community or share your knowledge.