Search the Community
Showing results for tags 'sdk'.
Found 3 results
twk posted a topic in VectorscriptTheres no documentation I could find on setting up your plugin/plugin object to recieve/set plugin styles. Anyone knows?
twk posted a topic in Python ScriptingGreetings 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
Greetings all, Trying to figure out how to access viewport class overrides through vectorscript. So far all i've found on the developers wiki are GetVPClOvrdCount GetVPClOvrdFillBack GetVPClOvrdFillFore GetVPClOvrdFillOpty GetVPClOvrdName GetVPClOvrdPenBack GetVPClOvrdPenFore GetVPClOvrdPenOpty Which seemingly addresses fill front/back and opacity together with the pen front/back and opacity. What about line types/pen thicknesses/textures?