Peter Vandewalle Posted April 14, 2018 Share Posted April 14, 2018 Is there a way to refresh a (section)viewport in a script? Quote Link to comment
Christian Fekete Posted April 14, 2018 Share Posted April 14, 2018 I don’t know about a script but you can program a right click menu to update VP Quote Link to comment
Kevin McAllister Posted April 14, 2018 Share Posted April 14, 2018 3 hours ago, Peter Vandewalle said: Is there a way to refresh a (section)viewport in a script? I think you would use UpdateVP. You can find information about it in the Developer's Function Reference here - http://developer.vectorworks.net/index.php/VS:UpdateVP Kevin Quote Link to comment
Peter Vandewalle Posted April 16, 2018 Author Share Posted April 16, 2018 I'm trying to modify the story level and update the viewport in one script. I think the modifications to the story level are effective only after the script has ended. So the viewport update doesn't return the wanted result within the same script. If I run the script twice, the viewport will update... Too bad. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.