Auran
02-14-2007, 04:21 PM
Hello,
I have an LScript that sets pivot points of currently selected layers. However, if I want to get the layers with data in them (lyrdata) nil is returned, even though the model has about 100 layers that contain geometry?!? Also, the scripts that use this fail on this one particular .lwo file and only in LW 9.0 (it works great in 8.5).
I believe I can find a way around this by manually looping through the layers and checking the number of points > 0, however, updating every single LScript that uses this function would be a royal pain :(
I am just curious if anyone has run across this problem before?
Thanks,
~Auran
I have an LScript that sets pivot points of currently selected layers. However, if I want to get the layers with data in them (lyrdata) nil is returned, even though the model has about 100 layers that contain geometry?!? Also, the scripts that use this fail on this one particular .lwo file and only in LW 9.0 (it works great in 8.5).
I believe I can find a way around this by manually looping through the layers and checking the number of points > 0, however, updating every single LScript that uses this function would be a royal pain :(
I am just curious if anyone has run across this problem before?
Thanks,
~Auran