This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def remove_layers(fbx_file, layers): | |
""" | |
Remove layers from the FBX Scene | |
""" | |
layer_names = [] | |
for layer in layers: | |
layer_names.append(layer.GetName()) | |
# set these property values | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import FBX_Scene | |
import FbxCommon | |
def clean_character_scene(fbx_filename): | |
""" | |
Clean up character fbx file | |
""" | |
# open the fbx scenes and get the scene nodes | |
fbx_file = FBX_Class(fbx_filename) | |
if not fbx_file: |
NewerOlder