Thanks to MaxStudio and Pat Stanford for their help in the topic "Saved View / Layer". My code now works fine... however:
When I add a new design layer, VS adds it as the first layer. It would be good if the stacking order of the new layer could be changed as part of the script.
I've had a look in the function API, but there doesn't appear to be anywhere to access the layer stacking order. Have I missed something?
VW2008 on Mac OS-X
(New Topic, New thread)