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.....
1 comment:
[url=http://kfarbair.com][img]http://www.kfarbair.com/_images/logo.png[/img][/url]
מלון [url=http://www.kfarbair.com]כפר בעיר[/url] - אווירה כפרית, [url=http://www.kfarbair.com/about.html]חדרים[/url] מרווחים, שירות חדרים, אינטימיות, שלווה, [url=http://kfarbair.com/services.html]שקט[/url] . אנו מספקים שירותי אירוח מיוחדים כמו כן ישנו במקום שירות חדרים הכולל [url=http://www.kfarbair.com/eng/index.html]אחרוחות רומנטיות[/url] במחירים מפתיעים אשר יוגשו ישירות לחדרכם!
לפרטים נוספים נא גשו לאתר האינטרנט שלנו - [url=http://kfarbair.com]כפר בעיר[/url] [url=http://www.kfarbair.com/contact.html][img]http://www.kfarbair.com/_images/apixel.gif[/img][/url]
Post a Comment