Set the script text of the specified script resource.
FUNCTION SetScriptResource(
scriptName : STRING;
script : DYNARRAY[] of CHAR;
python : BOOLEAN): BOOLEAN;def vs.SetScriptResource(scriptName, script, python):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| scriptName | STRING | The script name identifying the resource. |
| script | DYNARRAY[] of CHAR | The script text. |
| python | BOOLEAN | Pass TRUE if the script text contains python script. Otherwise it will be considered VectorScript. |
VS Functions: CreateScriptResource | GetScriptResource | OpenScriptResPal
Availability: from Vectorworks 2014