kiryha
11-30-2012, 08:57 AM
1)
file -q -sn;
return full path with file name, how to get only name of maya file?
2) How to get folder name in wich file is located?
If i have scenes/models/myFile.mm i need "models" string.
3) How to cut parts of strings?
If i have "models" string and i need to leave only first 3 elements("mod")
file -q -sn;
return full path with file name, how to get only name of maya file?
2) How to get folder name in wich file is located?
If i have scenes/models/myFile.mm i need "models" string.
3) How to cut parts of strings?
If i have "models" string and i need to leave only first 3 elements("mod")
