finding file paths for exporting a cache

finding file paths for exporting a cache

Anonymous
Not applicable
406 Views
0 Replies
Message 1 of 1

finding file paths for exporting a cache

Anonymous
Not applicable

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 :

 

  1. Name the output file as "projectName_objectName.abc"
  2. Direct the output file to another project folder
  3. 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

 

 

0 Likes
407 Views
0 Replies
Replies (0)