VS:vsoAddWidget

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Description

Add a widget of the specified type and localized name to appear in the Object Info Palette.

FUNCTION vsoAddWidget(
widgetID :LONGINT;
widgetType :LONGINT;
locName :STRING) : BOOLEAN;
def vs.vsoAddWidget(widgetID, widgetType, locName):
    return BOOLEAN

Parameters

widgetID LONGINT
widgetType LONGINT
locName STRING

Version

Availability: from Vectorworks 2014