[split] Buffer Exchange cleanup script


RE: Simple LDCad script
#8
(2022-12-28, 22:00)Roland Melkert Wrote: This is a bug.

I checked the code and getVisible should indeed return a value which takes bufferexchange into account.

It seems to use outdated functions to do so though.

I will change this so it will only returns true when the part is currently visible (depending on current step, bufexchg, ghosting, etc).

Same goes when running in animation mode.


The api guide is very old, The function was changed for use with macros somewhere down the road.

That should allow the script to work at any step in the model, then. So you could, for example, export to Studio and do photoreal renderings by step.

Nevertheless, I'm glad I went through the exercise of figuring out how to do it logically. The solution turned out to be surprisingly elegant. :-)

Is there a way to loop through all subfiles of a model, so that the script can work recursively?
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)