|
Hi,I got some trouble when I want to delete Poses by this Python Script.
lposes = FBSystem().Scene.Poses
poselist = [] for lp in lposes:
poselist.append(lp) for item in poselist:
item.FBDelete()
But I replace “.Poses” above into “Textures”, I can delete textures.
I thought Pose and Texture are both same component…
Can’t I treat Pose and Texture in the same way?
Could someone point me in the right direction for this?
|
|
|
|
Hey I know I’m a little late with the post but better late than never I guess. You were really close to solving your problem. You were using “Pose” instead of “CharacterPoses. Oddly enough when I used your original code it gave me the skinCluster for my mesh that was in the scene.
From the help docs:
FBListCharacterPose CharacterPoses
List: Character poses in scene.
FBListPose Poses
List: Poses in scene.
Code:
lposes = FBSystem().Scene.CharacterPoses
poselist = [] for lp in lposes:
poselist.append(lp)
for item in poselist:
item.FBDelete()
Dan M.
http://www.danielmccrummen.com
|
|
|