VS:AddToPluginStyle

From Vectorworks Developer
Revision as of 07:15, 7 March 2020 by Orso.b.schmid (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Adds a new item to a plug-in style map.
FUNCTION AddToPluginStyle(
hSymDef  :HANDLE;
itemName  :STRING;
styleType  :INTEGER) : BOOLEAN;
def vs.AddToPluginStyle(hSymDef, itemName, styleType):
    return BOOLEAN

Parameters

hSymDef HANDLE Handle to a symbol definition containing a plug-in style.
itemName STRING Name of new item to add.
styleType INTEGER Style type for new item. 0 sets the item to By Instance 1 sets the item to By style.

Return Value

TRUE if the item was added to the plug-in style.

FALSE if the symbol definition does not contain a plug-in style or the style alread contains an item by the given name.

Version

Availability: from Vectorworks 2017
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox