Greetings all,
Functions mentioned in title [vs.GetProjectUserNames(), vs.GetResourceTags()] return NoneTypes, not sure whether this is broken.
From the DevWiki: http://developer.vectorworks.net/index.php/VS:GetProjectUserNames
Description : Get a list of userids that are part of the current project.
def vs.GetProjectUserNames():
return (BOOLEAN, userArray)
userArray | ARRAY : Array of userids as strings
However, upon running this in a Project File, I get a Boolean of True, but a NoneType for userArray. Not sure how to iterate through list of results.
This is the same with vs.GetResourceTags():
From the DevWiki:
Description : Gets the tags attached to the specified resource.
def vs.GetResourceTags(handle):
return tags
tags | ARRAY : Array of tags
Running this on Symbol Definition handle, with tags attached yields a NoneType as well. The Symbol Definition has got tag(s), and running vs.GetNumResourceTags(some_handle) returns the correct number of tags attached to this resource.
Any insight would help, @orso b. schmid/ @Pat Stanford