I am trying to script DS to produce fancy videos (recreating what good old Quanta was able to do). I can get it to drive rotation fine - but Zoom seems to blow up the graphics.
relevant part of script is:
for (my \\\$count = 0.0; \\\$count <=10.0; ++\\\$count) {
# Ensure all view updates turned off \\\$document->EnableUpdateViews(False);
# scale
\\\$document->Zoom(1.0001);
# Turn view updates back on
\\\$document and \\\$document->EnableUpdateViews(True);
\\\$document and \\\$document->UpdateViews();
Any value passed to Zoom and the graphics blows up.
Any suggestions? Thanks
relevant part of script is:
for (my \\\$count = 0.0; \\\$count <=10.0; ++\\\$count) {
# Ensure all view updates turned off \\\$document->EnableUpdateViews(False);
# scale
\\\$document->Zoom(1.0001);
# Turn view updates back on
\\\$document and \\\$document->EnableUpdateViews(True);
\\\$document and \\\$document->UpdateViews();
Any value passed to Zoom and the graphics blows up.
Any suggestions? Thanks
