dannax.blogg.se

Rename a layer in diptrace pattern editor
Rename a layer in diptrace pattern editor




Oe:RenBlock function is inspired from this discussion : CSV file must be stored in ANSI (with french accent it's OK) And semicolons are fine as long as the origin of the files is not by saving to. CSV file from a spreadsheet, you won't get semicolon separators.Īs I say, it may not matter, since the procedure in AutoLisp would be the same whatever the separator character is, as long it's known what that is to be. CSV file, when I open that in a plain-text editor, it comes out with comma separators:

rename a layer in diptrace pattern editor

With the old and the new from each line in separate cells, and the commas not visible.Īnd if I start a blank Excel spreadsheet and fill in cells:Īnd then go to Save it from there as a.

rename a layer in diptrace pattern editor

But if I change the semicolons to commas, and do the same, I get what I would expect: With all the content of each line within a single cell in the spreadsheet. csv, and open it in Excel, this is what I get: CSV stands for Comma- Separated Values - shouldn't the separator be a comma? If I change your BLOCK_RENAME.txt to BLOCK_RENAME. Maybe it doesn't matter, if you're not actually going to open the file in a spreadsheet program such as Excel, but. Thanks in advance, THE HEALTH (Stay Safe), Regards, Something like that. Xx lines processed - xx Blocks/Layers renamed OK If OK : rename (Block OR Layer) and print old & new name on the text screen

rename a layer in diptrace pattern editor

Test if the new name exist ! If YES warning on the text screen with the new name . Test if the old name (Block OR Layer) exist ! If NO warning on the text screen with the old name . Ĭheck that in the current CSV Line, there is NO forbidden caracters ! If YES warning (with old & new name) on the text screen. ġ) Question : Rename Blocks OR Layers (Default = Block) : ?Ģ) Question : Ask for the CSV/TXT File. So the separator would be " " and the Old and/or New name could contain special caracters (french / german /etc) / blank, etc. I am looking for a Lisp Utility to rename Blocks or Layers based on a CSV/TXT File.






Rename a layer in diptrace pattern editor