Mike C Posted February 19, 2016 Share Posted February 19, 2016 Is there a way to retrieve either the user name from the VW license info, or the logged in username from the operating system? Thanks. Quote Link to comment
DomC Posted February 19, 2016 Share Posted February 19, 2016 (edited) # Python Script import os import pwd user=pwd.getpwuid(os.getuid())[0] serial=vs.GetActiveSerialNumber() vs.AlrtDialog(user+' '+serial) Or for Module Informations: module=vs.GetEnabledModules() For Module Number look here: http://developer.vectorworks.net/index.php/VS:GetEnabledModules Edited February 19, 2016 by DomC Quote Link to comment
Recommended Posts
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.