Search the Community
Showing results for tags 'sdk'.
-
vs.GetLBHeaderTextWidth(className, allowForSortIcon) The function above is crashing my VW 2021. Anyone else can confirm before I try a reinstall/bug submission? It gets pixel width for specified string (param:className for some reason??) for use with Dialog ListBrowsers.. Cheers, Tui
-
Is there any way we can provide a link to our own help documentation/wiki when creating tools with the SDK? When you hit F1 on default tools you end up on the specific article explained in the Vectorworks help.
-
Theres no documentation I could find on setting up your plugin/plugin object to recieve/set plugin styles. Anyone knows?
- 4 replies
-
- plugin styles
- script
-
(and 2 more)
Tagged with:
-
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
-
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?
- 10 replies
-
- vectorscript
- customisation
-
(and 1 more)
Tagged with: