VS:SetScriptResource/ja: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
No edit summary
 
m (1 revision: 2014J VS Reference S)
 
(No difference)

Latest revision as of 03:37, 16 January 2014

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

Description

指定したスクリプトリソースのスクリプトテキストを入力します。

FUNCTION SetScriptResource(
scriptName :STRING;
script :DYNARRAY[] of CHAR;
python :BOOLEAN) : BOOLEAN;
def vs.SetScriptResource(scriptName, script, python):
    return BOOLEAN

Parameters

scriptName STRING リソースを特定するスクリプト名
script DYNARRAY[] of CHAR スクリプトのテキスト
python BOOLEAN スクリプトがPythonの場合TRUEをわたす。そうでなければ、VectorScriptと認識されます。

Return Value

成功した場合TRUEを返します指定した名前のスクリプトが存在しない場合、この関数は失敗します。

Version

Availability: from Vectorworks 2014

See Also

VS Functions:

VS:CreateScriptResource | VS:GetScriptResource | VS:OpenScriptResPal

VS Functions:

[[VS:CreateScriptResource]] | [[VS:GetScriptResource]]

| [[VS:OpenScriptResPal]]