LoginSignup
1
0

More than 3 years have passed since last update.

3dsmax Script ファイル操作系

Last updated at Posted at 2021-06-19

■フォルダの選択

strLoadPath = getSavePath caption:"フォルダの選択" initialDir:(getDir #maxroot)

if strLoadPath == undefined then
(
 print "Cancel"
)else(
 print ("OUTPUT FOLDER > " + strLoadPath)
)

image.png

■現在のシーンのファイル名を取得する方法]

sceneName = maxFilePath + maxFileName

■ファイルの未保存の確認

if maxfilename =="" do
(
    messagebox "ファイルを保存してください" title:"作業確認"
    return 0
)

image.png

1
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0