RemoveUserKeyword

導入

v8.0 (2010)

詳細

指定したリストにある各オブジェクトのキーワードのリストから、1 つまたは複数のユーザ キーワードを削除します。 リストに存在しないキーワードを指定した場合は、何も起こりません(エラーは発生しません)。

スクリプト構文

RemoveUserKeyword( [InputObjs], Keywords );

パラメータ

パラメータ タイプ 説明
InputObjs 選択リストまたは選択

デフォルト値:指定されていない場合は、現在の選択が使用されます。

Keywords 文字列

VBScript の例

NewScene

CreatePrim "Sphere", "MeshSurface"

CreatePrim "Cone", "MeshSurface"

CreatePrim "Torus", "MeshSurface"

SetUserKeyword "sphere,cone", "blue,orange"

AddUserKeyword "sphere", "red,brown"

AddUserKeyword "torus", "yellow,teal"

RemoveUserKeyword "sphere,cone,torus","yellow,orange"

dim KeywordCollection 

set KeywordCollection = GetUserKeyword( "sphere" )

for each keyword in KeywordCollection

LogMessage "sphere keyword:" & keyword

next

LogMessage "All Keywords:"

set KeywordCollection = GetUserKeyword( "sphere,cone,torus" )

for each keyword in KeywordCollection

LogMessage keyword

next

関連項目

AddUserTab RemoveUserTab ClearUserTab GetUserTab SetUserTab AddUserKeyword ClearUserKeyword GetUserKeyword SetUserKeyword