Jump to content
Developer Wiki and Function Reference Links ×

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

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

Link to comment
  • 6 years later...

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")))

 

 

 

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...