objExists string
objExists は 「元に戻す」が可能、「照会」が不可能、「編集」が不可能 です。
このコマンドは、指定した名前のオブジェクトが存在するかどうかによって、true または false を返します。| boolean |
// Select an object if and only if it exists.
// Print a warning if it does not exist.
if( `objExists surface1` ) {
select surface1;
} else {
warning("No surface exists");
}