v4.0
パラメータ上のタグを 1 つ以上削除します。
Untag( [InputObjs], [Level] ); |
パラメータ | タイプ | 説明 |
---|---|---|
InputObjs | 文字列 |
タグ付けを削除するパラメータのリスト。 デフォルト値:現在のマーキングおよび選択に基づきます。 |
Level | siTags |
削除するタグ。 多数のタグを組み合わせられます。すべてのタグを削除するには siTagAll を使用します。
デフォルト値: siTagAll |
/* JScript example that shows how to tag and untag parameters */ NewScene(null, null); CreatePrim("Cone", "MeshSurface", null, null); // Tag the subdivu parameter on the cone. Tag("cone.polymsh.geom.subdivu", siTag3); Tag("cone.polymsh.geom.subdivv", siTagAll); // Display the tags on the cone var oObj = GetValue("Cone"); var oList = oObj.TaggedParameters( siTag3, true ); for (i=0; i<oList.count;i++) { logmessage (oList.Item(i)); } // Remove couple of tags UnTag("cone.polymsh.geom.*", siTag2 + siTag3); // Display the tags on the cone var oObj = GetValue("Cone"); var oList = oObj.TaggedParameters( siTagAll, true ); for (i=0; i<oList.count;i++) { logmessage (oList.Item(i)); } // Now remove all tags UnTag("cone.polymsh.geom.*", siTagAll); |