RE: LDCad scripting and macros
2019-05-21, 19:41 (This post was last modified: 2019-05-21, 19:42 by Roland Melkert.)
2019-05-21, 19:41 (This post was last modified: 2019-05-21, 19:42 by Roland Melkert.)
(2019-05-21, 7:13)Philippe Hurbain Wrote: Great! The good thing of scripting is that it's easyto customize (in my French Excel, the separator of csv is semicolon instead of coma!!!!!). I guess there is no way yet to retrieve part description from part file? Or color information from ldconfig?
I use LibreOffice it let you choose the separation character for csv and paste of text.
the part description should be getable by
Code:
refTo:getLine(1):getString():sub(3)
on the .dat content
untested though