Jayme McColgan Posted September 23, 2021 Share Posted September 23, 2021 hey guys, this year is the first year that i have developed plugins for VW and I'm curious to know the process of getting plugins ready for new releases. i have about 10 plugins that i've made that i will need to move from VW2020 to VW2022. also wheres the best place to see whats new (in regards to plugins) with the new version. Quote Link to comment
Pat Stanford Posted September 24, 2021 Share Posted September 24, 2021 Check the Vectorscript Function Reference. One of the sort options is By Version. Take a look there and see what is new and what has been deprecated. This does not appear to be available on the Developer site, but only in the local version. Applications:Vectorworks 2022:VW Help:Script Reference:ScriptFunctionReference.html 1 Quote Link to comment
twk Posted September 24, 2021 Share Posted September 24, 2021 You can find it on this page: (Scroll to bottom of page)https://developer.vectorworks.net/index.php/Vectorworks_Scripting#Version_Information 1 Quote Link to comment
tbexon Posted September 27, 2021 Share Posted September 27, 2021 Following on from this, a question about the actual plug in files themselves (VSM,VSO etc). Should these be backwards compatible with previous VW versions? Or do I need to distribute them in the oldest version I want to support and then when the user first runs the command it will automatically update it to the latest version? Quote Link to comment
twk Posted October 2, 2021 Share Posted October 2, 2021 (edited) On 9/28/2021 at 1:06 AM, tbexon said: Following on from this, a question about the actual plug in files themselves (VSM,VSO etc). Should these be backwards compatible with previous VW versions? Or do I need to distribute them in the oldest version I want to support and then when the user first runs the command it will automatically update it to the latest version? From my experience, any plugins created before the latest version work with the latest version -- IF -- they are not using depreciated function calls (alot got dropped in 2012). But if you're wanting plugins to be backwards compatible they have to be created/edited in that version to work with that version. E.g You create a plugin in version 2018, and then come 2021, a new version gets released and all should be well (from what i know, no functions were depreciated in 2021). However, once you make any edit to the plugin using the plugin manager, under 2021, (eg add a parameter, remove a parameter, change a parameter name, etc), that action breaks backwards compatibility. If you point your script to an external source and are changing script code in an external editor, this doesn't seem to affect the *.vso or *.vsm files. So if you are want to do edits to the plugin via the plugin manager and still maintain the backwards compatibility you'd have to do it in the earliest version (in this case 2018) you want compatibility for. Again, my own experience. Edited October 2, 2021 by twk Quote Link to comment
tbexon Posted October 3, 2021 Share Posted October 3, 2021 Thanks! That makes sense! 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.