--MAXScript エディタで編集するために INI ファイルを開く
edit (objimp.getIniName())
--または 読み書きに INI ファイル アクセスを使用:
theINI =objimp.getIniName()
getIniSettingtheINI--INI ファイル カテゴリを取得
-->#("General", "Objects", "Geometry", "Units/Scale", "Material")
--General カテゴリのキーを取得
getIniSettingtheINI"Geometry"
-->#("FlipZyAxis", "CenterPivots", "Shapes", "TextureCoords", "SmoothingGroups", "NormalsType", "SmoothAngle", "FlipNormals")
--Geometry>Shapes キーの値を取得:
getIniSettingtheINI"Geometry""Shapes"
-->"0"
--Shapes をオンに:
setIniSettingtheINI"Geometry""Shapes" "1"
-->true
|