Jump to content
Developer Wiki and Function Reference Links ×

Vectorscript Versions


twk

Recommended Posts

Our office has 3 versions of vectorworks being used for projects. VW2011, VW2013, and VW2014. When I started learning vectorscript we were on VW2011, and most of my PIO's carried through to the later versions. As the projects I began working on moved on to VW2013 and VW2014 I began coding in those later versions. Just recently I realised that my PIO's created in VW2014 couldn't be used in VW2013 or VW2011. Do use these plugins I had to re-create all the parameters for the PIO and copy in the script, and compile it to see which procedures/functions weren't compatible.

Has anyone else faced the same problem and have a faster solution? Most of my PIOs have close to 50 parameters to set.

Cheers

Tui

Link to comment

Plug-ins are always forwards compatible but rarely backwards compatible. The only solution is to develop in the lowest version for which you want the plug-ins to be compatible. That also ensures that every API call will be available. Commands to get deprecated, but they are usually available for several subsequent versions.

One tip is to use include files for your code. The compiler will follow shortcuts as well as full and relative paths to include files, so you can have several plug-in copies reading a single text file of code.

-Josh

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...