renameSelectionList(string $newName)
なし
| 変数名 | 変数型 | 説明 |
|---|---|---|
| $newName | string | セレクション リスト内のオブジェクトの名前です。 空の文字列にしないでください。有効な名前は文字やアンダースコアで始まり、文字、数字またはアンダースコアが続きます。 |
// Create a few objects. Select one and rename it.
//
$cone1 = `cone`;
$cone2 = `cone`;
$cone3 = `cone`;
select $cone1;
renameSelectionList("Cone");
// Add the other objects to the selection list and rename
// them all.
//
select -add $cone2;
select -add $cone3;
renameSelectionList("Object");