摘要:
Maya的Python竟然没有Mel中的source函数,就自己写了个。PythonSourceglobal proc PythonSource(string $inputFileName) { $fileId=fopen($inputFileName,"r"); string $fileDetails = ""; string $nextLine = ""; do { $nextLine = `fgetline $fileId`; $fileDetails += $nextLine; }while ( size( $n... 阅读全文
posted @ 2011-08-26 22:21
SITT
阅读(428)
评论(0)
推荐(0)

浙公网安备 33010602011771号