LDCad scripting and macros


RE: LDCad scripting and macros
#14
(2022-07-25, 8:54)Joachim Wrote: I already use a modified version of your macro:register('Generate BOM list').
Would there also be an easy way to get the color name instead of the color number? I can make a function which can do this but then I would need to insert all the color name manually. Perhaps there is a neat solution which already does this. I want to keep my code as clean as possible.
Looking forward to your reply.

Currently there is no way to get the color name trough script, as colors don't have a special ldc object like ldc.matrix etc.

I might add that to the next version though.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: LDCad scripting and macros - by Joachim - 2022-07-25, 8:54
RE: LDCad scripting and macros - by Roland Melkert - 2022-07-25, 20:57
RE: LDCad scripting and macros - by Joachim - 2022-07-25, 21:18
RE: LDCad scripting and macros - by Joachim - 2022-07-26, 10:33

Forum Jump:


Users browsing this thread: 1 Guest(s)