lua scripting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

lua scripting

kato01
I am using Windows 10 with LibreCAD 2.1.3.
Not sure I understand if Lua scripting is available for this . I googled the issue but could not find an answer.
I found this link https://wiki.librecad.org/index.php/LibreCAD_3_-_Lua_Scripting
It says "To create entities within a document there is a builder object that allows to add new entities or append selected entities into the build. From there you can apply steps to process the entities. After each step the result of the step is passed along to the next step.". However I  am not sure I know how to create/use this "builder object"

Thank you
 
Reply | Threaded
Open this post in threaded view
|

Re: lua scripting

R. van Twisk
Administrator
The scripting portion is for the next version of LibreCAD.
Reply | Threaded
Open this post in threaded view
|

Re: lua scripting

LordOfBikes
Administrator
There is no scripting in LibreCAD V2, but you may have a look at following wiki article:
https://wiki.librecad.org/index.php?title=Pseudo-Scripting_With_Excel
You may need to use the latest V2.2 release candidate which is as stable as 2.1.3 and has the abilities as described in the wiki.
It is about to store multiple LibreCAD commands in a file to load and execute the them through command line.
Find the 2.2.0-rc2 installer here: https://sourceforge.net/projects/librecad/files/Windows/NightlyBuilds/master/
investing less than half an hour into Search function can save hours or days of waiting for a solution