VS:AddButtonMode

From Vectorworks Developer
Jump to navigation Jump to search

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

Description

Adds an image button to the mode bar for a tool. Replaces vstAddButtonMode.

PROCEDURE AddButtonMode(
imageSpecifier :DYNARRAY[] of CHAR);
def vs.AddButtonMode(imageSpecifier):
    return None

Parameters

imageSpecifier DYNARRAY[] of CHAR The string identifier for the image. It should be of the form "ResourceFileNameWithoutExtension/PathOfImageFile".

Version

Availability: from Vectorworks 2012