Login  Register

Re: Pseudo scripting with excel - add layer

Posted by sand1024 on Apr 01, 2025; 3:57pm
URL: https://forum.librecad.org/Pseudo-scripting-with-excel-add-layer-tp5726798p5726817.html

oh, I see - these are good points indeed.  

And what is the main purpose of the "last" - just making several copies? Or something else is possible?  
So far I hardly can imagine other applications than creation of array. Basically, if I'm correct - the "move" command you've described - is just an option to specify the array, right?

As for moving coordinates - I got it - yes, it will be easy to add as we have UCS now in 2.2.2. Good point, I'll add a command for setting it.

>My experience is that all the 'dirty work' of calculations can be done in Excel,

Yes, but in addition to this I've also considering something like setting variables in script and referring them as part of command attributes. For example, some length, radiuses, coordinates may be a good candidates for such variables.  But for sure they may be pre-calculated earlier, so resulting script to execute may contain values only.