VS:WSScript AddHandle

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 handle for a worksheet script usage. This is most notable used for scripts that generate object database for worksheets.

PROCEDURE WSScript_AddHandle(
h :HANDLE);
def vs.WSScript_AddHandle(h):
    return None

Parameters

h HANDLE The handle of an object to be added

Remarks

_c_ (2021.02.08):

See excellent intrduction to Worksheet Scripting by Pat Stanford on the Techboard:

forum.vectorworks.net/index.php?/topic/75193-a-super-short-course-in-worksheet-scripts/

Version

Availability: from Vectorworks 2020