ファイル操作
実行方法
テンプレートファイルから読み込む
Matching Template Panel のツールバーから Load
を選択すると Load Matching Template File
ダイアログが表示されます。
Matching Template File を指定して OK を押すと、ファイルに記述された情報から図形と測長点を追加することができます。ファイルから読み込むと既に登録されている情報はクリアされます。
テンプレートファイルに出力する
追加した図形や測長点はテキストファイルに保存することができます。
Matching Template Panel のツールバーから Save
を選択すると Save Matching Template File
ダイアログが表示されます。
ファイル名を指定して OK を押すと pattern-match に入力可能なテンプレートファイルが出力されます。
コマンドラインから実行する
レシピファイルからテンプレートを作成する
起動時に --matching-template-recipe-file
オプションを使って Matching Template Recipe File を指定すると、起動後に図形と測長点の追加が行われます。
また、--matching-template-out
オプションでテンプレートファイルとして作成された図形や測長点を保存することができます。
以下のように指定することで figure_file に対してレシピファイル matching_template_recipe_file.txt を適用して作成されたテンプレートが matching_template.txt へ出力されます。
$ nebv --matching-template-recipe-file=/path/to/matching_template_recipe_file.txt --matching-template-out=/path/to/matching_template.txt /path/to/figure_file
Matching Template Recipe File の記法について詳しくは Matching Template Recipe File ページをご覧ください。
詳しくは 起動オプション ページの --matching-template-recipe-file
, --matching-template-out
をご覧ください。
テンプレートの読み込み
作成済みのテンプレートを読み込みたい場合は--matching-template-in
オプションで、テンプレートファイルを指定することもできます。
$ nebv --matching-template-in=/path/to/matching_template_in.txt ...
詳しくは 起動オプション ページの --matching-template-in
をご覧ください。