[split] Buffer Exchange cleanup script


RE: Simple LDCad script
#10
(2022-12-29, 19:28)Roland Melkert Wrote: You can get submodels trough the ref obect's getSubfile function.

But in the current alpha there is no (easy) way to know if it is a part or submodel.

The upcoming 1.7 Beta 1 has a whole bunch of type information functions though.

Hmm, that might be worth waiting for then…sounds like I'd have to, while I'm already looping the lines, also check whether each ref is a model and, if so, whether it has its own buffer exchange applied.

Alternate would be if I could just work at the file level—that is, apply the script to every line of the .ldr or .mpd file, and not be concerned with whether something is a submodel or not. Maybe I can already do that using io. scope? Or maybe it doesn't work that way…
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Simple LDCad script - by Roland Melkert - 2022-04-02, 19:47
RE: Simple LDCad script - by N. W. Perry - 2022-12-24, 14:25
RE: Simple LDCad script - by Roland Melkert - 2022-12-28, 22:00
RE: Simple LDCad script - by N. W. Perry - 2022-12-28, 23:14
RE: Simple LDCad script - by Roland Melkert - 2022-12-29, 19:28
RE: Simple LDCad script - by N. W. Perry - 2022-12-30, 0:25
RE: Simple LDCad script - by N. W. Perry - 2022-04-03, 3:16

Forum Jump:


Users browsing this thread: 1 Guest(s)