![]() ![]() Two steps to go!įirstly we are going to rename the extension on the file (if you cannot see extensions follow this). You should now have a text file that has the entire script for making your layers you need in it. Save as Formatted Text (space delimited) PRN file. ![]() Now the file is ready to become a script. Once completed, save this file for future reference.Ĭopy the entire column of D and paste to a new file using paste values only. (Note the quotes are required for layer names with spaces).Īdd layer information down the left and drag the little square in the bottom right of the excel cell to copy this to all cells below. One completed we will now enter the following command below the cell with -layer in. Make sure the second column for colour is text only to avoid any true colours being converted into numbers. This is in the order, layer name, colour, linetype. Now we are ready to input some data into the first three columns. Then place “-LAYER” in the 4th column over. (Note this is not my concept but I cannot find the original page where this was proposed). Below I will go through the steps you need to do to get this to work. You can use Excels powerful cell commands to convert your layer list to a format that will then be able to create a script file. The problem then comes of getting these layers into AutoCAD? There are numerous Lisp programs around on the internet to do this but what if you have AutoCAD LT only ( as it lacks programming APIs)? ![]() Creating lots of text on mass is really easy to do in Excel so that would be the program of choice to do this task. This would be difficult to do in AutoCAD without resorting to LISP or some programming to insert layers on mass. Have already started chipping away at it.I have been attempting to update our office’s layer system. **Edit: Couldn't get the reference manager to work, did some looking up and I think it's because all our files are shared through a server. Thank you for reading this and for any help you can give!Įdit: To the people suggesting that I rename the files, the client has some custom program that they're going to use with these project files which requires all the xref names and layers to match, so we have to use the new xref names attached to the new files we got. The aforementioned way of doing this is extremely tedious and I'm hoping there is an underutilized/more advanced option to do this that will save me a bunch of time. The only way i know how to do this is to open one of the 60+ files, open the xref manager, select an xref, change it's source file to the new one (which doesn't change what the file is called in the xref manager), then double click the xref's old name in the xref manager, and type out the new name of the file. Is there an easy way to do this? One that doesnt change each xref's layer settings, placement location, and scaling? So i have to re-map then re-name all the xrefs in all 60+ files (per their requirements) With-in a few days of our dead line, our prime on the project just renamed and updated all the xrefs and sent them our way. Long story short, I have a project with 60+ files, with each file pulling from an xref pool of ~20 files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |