Nebeor Posted February 11, 2021 Share Posted February 11, 2021 Hello, Is there a way to open a whole .vwx file through the sdk so that I can automate the testing of Vectorworks files? I'm currently using VW2015 and we want to automate our testing before migrating to a newer version of Vectorworks. If this isn't possible, the best course for me is to put my test cases in symbol definitions that I could automatically extract into a template file. I'm looking forward to your suggestions.... Quote Link to comment
JBenghiat Posted February 11, 2021 Share Posted February 11, 2021 See here: https://developer.vectorworks.net/index.php/SDK:Writing_automated_tests Automated testing is only available in 2020 (maybe 2019?), but this does detail how to open and close files. 1 Quote Link to comment
Nicolas Goutte Posted February 11, 2021 Share Posted February 11, 2021 (edited) You can use ISDK::OpenDocumentPath for opening VWX files (and ISDK::CloseDocument to close them again) The SDK calls should already be there in VW 2015, as they are marked as VW2009 (resp. VW 2012) Edited February 11, 2021 by Nicolas Goutte 1 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.