How low do I go? Electrical drawings is how low. Still, it's all part of the work and it is only occasional. Just to add to the fun I decided we needed a super duper way to extract from an Excel spreadsheet the data needed to fill out a PLC card.
This was done by saving the file as a csv file, in other words a text file, but one where the columns have been replaced by commas.
Once this has been done, PLC.lsp is flung into action in the right drawing (ie a PLC card drawing with blank spaces). This inserts all the relevant blocks with all the right info at the correct positions.
It works, but one of the problems is that the description might be on 3 lines while the spreadsheet only supplies one cell. So an advanced version of this would need to parse the description string, analyse how many words it had and split it up accordingly.
Maybe next weekend.....