v7.5
自己インストール Filter プラグインを生成するために使用可能なフィルタ ウィザードのインスタンスを作成します。生成されたウィザードは、シーン ルートの下に置かれる SDK ウィザード モデルの下にネスト化された CustomProperty です。
oReturn = CreateFilterWizard( [DestinationDir] ); |
CustomProperty オブジェクトとして新しく作成されたフィルタ ウィザード
パラメータ | タイプ | 説明 |
---|---|---|
DestinationDir | 文字列 |
生成するプラグインが保存されるフォルダ。 デフォルト値:保存先フォルダが指定されていない場合は、ウィザードのプロパティがユーザ パスに作成されます。 |
/* This example demonstrates how to create a filter wizard using the CreateFilterWizard command and then generate a very simple custom filter using the new wizard. */ var filterwiz = CreateFilterWizard(); filterwiz.PluginName = "XYZFilter"; filterwiz.FileName = "XYZFilterPlugin"; filterwiz.ScriptLanguage = "JScript"; filterwiz.FilterName = "XYZFilter"; filterwiz.FilterType = siFilterProperty; // Generates the XYZFilter implementation and plug-in GenerateFilterPlugin(filterwiz); var f = Application.Filters("XYZFilter"); Application.LogMessage(f.Name); // Expected results: // INFO : XYZFilter |