现在的位置: 首页 > 综合 > 正文

MAXScript101_5.5 Export Folder, ThumbnailFolder – Processing Sets of Scene Files

2013年10月07日 ⁄ 综合 ⁄ 共 1963字 ⁄ 字号 评论关闭

MAXScript101_5.5 Export Folder, ThumbnailFolder - Processing Sets of Scene Files

 

实例一.

 

 

 

备注:

1. getFiles <wild_card_filename_string> :得到指定路径中的长文件名,指定路径包含通配符

 

2. 文件与文件名相关

 

 

file="g://subdir1//subdir2//myImage.jpg"

filenameFromPath file -- returns: "myImage.jpg"

getFilenamePath file -- returns: "g:/subdir1/subdir2/"

getFilenameFile file -- returns: "myImage"

getFilenameType file -- returns: ".jpg"

pathIsNetworkPath "c://temp//test.txt" --returns: false

pathIsNetworkPath "////someserver//temp//test.txt" --returns: true

 

 

实例二(实例一变体).

 

 

 

 

 

 

 

 

抱歉!评论已关闭.