Jump to content
Developer Wiki and Function Reference Links Read more... ×
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.

×