LDCad Simple LDCad script


RE: Simple LDCad script
#5
(2022-03-25, 22:57)Roland Melkert Wrote: Yes, just write them without the value assignment.

I couldn't get them to work except inside the loops themselves (which meant I had to declare them in both loops). But the cnt variable does, for some reason.

(2022-03-25, 22:57)Roland Melkert Wrote: scripts can't actually modify lines on a string level (mostly because of the undo tracking), but you get the same effect by creating a new line and deleting the old one.

For an example of this see the global mlcad.lua script.

Yes, I'll be studying that one tonight. :-)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Simple LDCad script - by N. W. Perry - 2022-03-25, 4:27
RE: Simple LDCad script - by Roland Melkert - 2022-03-25, 19:56
RE: Simple LDCad script - by N. W. Perry - 2022-03-25, 22:33
RE: Simple LDCad script - by Roland Melkert - 2022-03-25, 22:57
RE: Simple LDCad script - by N. W. Perry - 2022-03-26, 2:00

Forum Jump:


Users browsing this thread: 1 Guest(s)