Message 1 of 1
finding file paths for exporting a cache

Not applicable
06-16-2019
05:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Hive-mind of Maya,
I am trying to write a piece of code to identify the path of the file from which I am exporting a GPU Cache and use the same path to extract the project name so that I can :
- Name the output file as "projectName_objectName.abc"
- Direct the output file to another project folder
- Check if there is already a file and version it up like projectName_objectName_v001.abc , projectName_objectName_v002.abc , projectName_objectName_v003.abc and so on..
Can someone please advice any commands to be employed for this purpose ?
I am really knew to coding and just starting out. Any pointers in this regard would be appreciated.
Thanks in Advance,
Sravan