- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is the mel
string $blastPath = "R:/Maya/RED_111_VFX/Blocking/RED_111_160_VFX/";
string $path = `file -q -sn`;
string $basename = basename($path, ".mb");
playblast -format qt -filename ($blastPath + $basename + ".mov") -forceOverwrite -sequenceTime 0 -clearCache 1 -viewer 1 -showOrnaments 1 -fp 4 -percent 100 -compression "Photo - JPEG" -quality 100 -widthHeight 2048 1080;
I would like to update the text in green derived from the basename/file name.
Using
string $blastPath = "R:/Maya/RED_111_VFX/Blocking/" + $basename + "_VFX/";
returns this
// Result: R:/Maya/RED_111_VFX/Blocking/RED_111_160_BLK_001_VFX/
How can I concatenate to remove the green text (BLK and version number)?
any help much appreciated,
Cam
Solved! Go to Solution.