Jump to content
Developer Wiki and Function Reference Links Read more... ×
VectorGeek

GetFolderPath() accessing a workgroup folder

Recommended Posts

Hi there,

We're utilizing a a server-side workgroup folder for all plug-ins, libraries etc. I have a few custom plug-ins that grab symbols from library files and bring them into the local file using CopySymbol().

For obvious reasons, I need to use GetFolderPath to do this, however it doesn't seem to support workgroup folders. Anyone know a workaround?

V-G

----------------------------------------------------------------------

VW2011 SP5

Mac OSX 10.6.6

iMac i7 27" with defibrillator

Wireless Herman Miller office chair

----------------------------------------------------------------------

Share this post


Link to post

Hi

This seems to be a very old thread 🙂 I did not found something newer. There seems to be a way to read plist on mac (not yet tried registry on win). Is there a more direct way?

 

import plistlib

file = 'Users/username/Library/Preferences/net.nemetschek.vectorworks.2019.plist'


pl = {}
with open(file, 'rb') as fp:
    pl = plistlib.load(fp)
    

vs.AlrtDialog(str(pl.get("NNA Workgroup Folders")))

 

 

 

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

 

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.

×