(2023-01-18, 19:02)N. W. Perry Wrote: I mentioned an issue with a script not working properly in this post. I wondered if it's an issue with LDCad rather than the script?
The reason I think so is because the script is actually your code, so I'm guessing it works right. But the other reason is, I had an earlier version of the script using my own totally different code, and it had the same problem. I think it must have to do with how LDCad handles comments in the source window (also because I know the source window isn't the complete, literal source of the file).
(2023-01-20, 22:14)Roland Melkert Wrote: It seems to work in the current 1.7 Beta 1, but I'm not entirely sure about the problem you're having. Could you send me an example model?
Sure, you can use the attached model, which has a bunch of text comments after the header. I've also got a quick animation of the problem:
ezgif.com-gif-maker.gif (Size: 498.58 KB / Downloads: 415)
It should uncomment those lines (remove the '0 // ' prefix), not delete the whole line.