lulumara Posted September 2, 2020 Posted September 2, 2020 Hi, Need to know if someone can help me with make a script or Lisp or they have it already, looking for some who have it that you can change such as Utilities (like sanitary, storm, gas, electric and more ) to our Company standard layers automatic because I kept doing manually every time we have to have a NEW Base plan to make. I appreciate so much help or response to my question. I know there's a lot of members here were very wise , well experienced and intelligent here in this forum. Thanks a lot in at advanced. I attached a screen shot. Quote
dlanorh Posted September 2, 2020 Posted September 2, 2020 I posted something similar HERE This moves objects to existing layers Quote
BIGAL Posted September 2, 2020 Posted September 2, 2020 (edited) If the utilities are on individual layers then use rename, you can write a simple script or lisp to do it. You will have to run prior to inserting into your company dwt as can not rename a layer if it exists. As per Dlanorh -Rename la Elec Electricity Edited September 2, 2020 by BIGAL Quote
lulumara Posted September 3, 2020 Author Posted September 3, 2020 (edited) Hi to Both Guru & Dlanorh, Thank you very much. I didn't try it yet but will try tomorrow if it works the LISP I download thru AutoCad website forum. Question does this Lisp can Automatically change from Utilities to STD Company Layers? I did tried but it shows below, what's next sorry I not familiar with lisp? It's looking for layers maybe? Thank you again. God Blessed both of you. Edited September 3, 2020 by lulumara Quote
BIGAL Posted September 3, 2020 Posted September 3, 2020 You need to make a file using notepad read the link. "OLDLAYERNAME","NEWLAYERNAME", one old,new per line Quote
paris8388 Posted March 22, 2023 Posted March 22, 2023 I created the .rly file with the old layers and new layers listed. when i run the command, and it's asking for a .rly, the file is not showing up. Quote
Steven P Posted March 23, 2023 Posted March 23, 2023 Assuming you used notepad or similar to make the rly file - did you change the file type dialogue to *.* type or leave it as *.txt. Go to the file with say, file explorer and see if you can find it there, then see what the file extension is and a 3rd option is to save the file as a plain text file, and then change the file type afterwards Quote
Steven P Posted March 23, 2023 Posted March 23, 2023 (edited) EDIT. Wrong thread! Edited March 23, 2023 by Steven P Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.