RE: Simple LDCad script
2022-12-28, 22:00 (This post was last modified: 2022-12-28, 22:01 by Roland Melkert.)
2022-12-28, 22:00 (This post was last modified: 2022-12-28, 22:01 by Roland Melkert.)
(2022-12-24, 14:25)N. W. Perry Wrote: So, either this doesn't work or I did it wrong (the latter is most likely!).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.
(2022-12-24, 14:25)N. W. Perry Wrote: On your API guide, it does say that getVisible only pertains to animations, so perhaps it doesn't reflect buffer exchange status after all?The api guide is very old, The function was changed for use with macros somewhere down the road.