Jump to content
Sign in to follow this  
Jack_1983

VectorWorks Installation Directory

Recommended Posts

Hi all,

This is not something directly related to VS development but I think it's something regarding general development and can be of help to some other people.

The main goal I'd like to accomplish is to automatically copy a custom plug-in in the Vectorworks plugins directory.

So, here is the question: is there a way to know the installation directory of vectorworks on windows? Something like a registry key or an environment variable would be very useful, but I was not able to find any of these.

Anyone can help me for this?

Thanks in advance.

Jack

Share this post


Link to post

Jack,

My plug-in installer finds the VW install with reg:HKLM\Software\Nemetchek\VectorWorks,Path.

The "correct" installation for custom plug-ins is in the user application data folder. In VS, you can retrieve this via GetFolderPath(-2). You should be able to get your user application data folder either via an installer script or just knowing the constant. Then append "\Nemetschek\VectorWorks\2011\Plug-Ins" changing 2011 to be whatever version you're using.

-Josh

Share this post


Link to post

Thanks a lot Josh,

I'll change the plugin installation directory with the one you pointed out.

As for the registry key, somehow, I am missing the Path key you mentioned. I mean, I have the whole VectorWorks folder, but it is empty.

I'll uninstall VW and then reinstall it again to see if this solves my issue.

Jack

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...