三日月館【別館】開発・制作Tips集
[Softimage] ユーザディレクトリ等を取得する
最終更新:
fumiduki1985
-
view
XSIApplicationクラスのInstallationPathプロパティで取得可能。
引数で渡すsiInstallationPath定数によって取得できるパスは異なる。
パスは文字列として返される。
引数で渡すsiInstallationPath定数によって取得できるパスは異なる。
パスは文字列として返される。
記述例:
strPath = Application.InstallationPath(constants.siUserPath) # PythonでUserディレクトリパスを取得する例