VS:vstGetInitObject

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

Return HANDLE to the object that this tool should copy. Part of 'similar object createion'. Used inside kToolInitByObject event.

FUNCTION vstGetInitObject(
message1  : LONGINT) : HANDLE;
def vs.vstGetInitObject(message1):
    return HANDLE

Parameters

message1 LONGINT

Example

Sample can be found at VS:Similar_Objects_Creation#Tool_Part

Version

Availability: from All Versions

This is drop-in function.