
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
python maya remove all except joints - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
python maya remove all except joints - Qiita
import maya.cmds as cmds # Get a list of all objects in the scene all_objs = cmds.ls() # Create a... import maya.cmds as cmds # Get a list of all objects in the scene all_objs = cmds.ls() # Create an empty list to store non-joint objects non_joints = [] # Check each object and append it to the non_joints list if it is not a joint for obj in all_objs: if cmds.nodeType(obj) != 'joint': non_joints.append(obj) # Delete all objects in the non_joints list cmds.delete(non_joints)