Message 1 of 1
maya python force rename illegal Node name while import
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If we batch import objs from a folder with the command:
imported_objects = cmds.file(f_name, i=True, mergeNamespacesOnClash=False, renamingPrefix='GEO_'+ f_name , returnNewNodes=True)
We still have meshes with illegal or non names, specially if the obj was exported from a file containing referenced objects.
Is there any solution to force rename while importing?
The Shape name in the OBJ is defined: for example:
g 3360-0008:8
# 51_34_1110_Tray_module_small_(no_content)+:+3360-0008:8
s off