Difference between revisions of "VS:WSScript GetEditObj"
From Vectorworks Developer
m (1 revision)
Latest revision as of 11:48, 16 September 2020
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionThis function must be used inside a worksheet script called by 'RunScriptEdit' worksheet formula. It will return the object being edited when 'WSScript_GetEdit' returns that the script is in edit mode.
VAR outObj :HANDLE) : BOOLEAN;
def vs.WSScript_GetEditObj(objIndex): return (BOOLEAN, outObj)
objIndex INTEGER Index to the object to be returned as the script can be called for a set of objects. Will return FALSE if no such object. outObj HANDLE Output the object that is being edited.
Return ValueReturn FALSE and NIL or vs.Handle() if the index is outside the range.
VersionAvailability: from Vectorworks 2021
See AlsoVS Functions:
VS Functions: [[VS:WSScript_GetEdit]]