Folder Dir

Hi All,

Just working on a renders script. Is there a way of going up a level in a folder structure? For example we have our 3D files in a different folder to our renders. is there a way to overwrite the jpg?

View 01
3D Files
View01_Scene01.max
Renders
View01_Scene01.jpg

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

example

str = @"C:\NewFolder\Renders\rendertest"
"C:\NewFolder\Renders\rendertest"
upLevel = pathConfig.removePathLeaf str
"C:\NewFolder\Renders"

barigazy

johncrawshaw's picture

Thank-you

Make's perfect sense. Thank-you for your help!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.