MAXScript Language Reference > 3ds Max Objects > Import and Export Filters >

# ObjImp : ImporterPlugin

The ObjImp ImporterPlugin introduced in 3ds Max 2010 exposes an interface to access the ASCII-based INI files location and name of the exporter dialog. The settings can then be queried and modified using the regular MAXScript INI settings functions getIniSetting() and setIniSetting() .

ObjImp Interfaces:

    Interface: iobjimp

Methods:

    <TSTR by value>objImp.getIniName ()

Returns the name of the Obj Importer Settings file.

    <TSTR by value>objImp.getPresetIniName ()

Returns the name of the Obj Importer Preset file.

EXAMPLE:
    --Open the INI file for editing in the MAXScript Editor
    edit (objimp.getIniName())

    --Alternatively, use INI file access to read and write:
    theINI =objimp.getIniName()
    getIniSettingtheINI--get INI file categories
    -->#("General", "Objects", "Geometry", "Units/Scale", "Material")

    --get the keys of the General category:
    getIniSettingtheINI"Geometry"
    -->#("FlipZyAxis", "CenterPivots", "Shapes", "TextureCoords", "SmoothingGroups", "NormalsType", "SmoothAngle", "FlipNormals")

    --get thevalueof theGeometry>Shapeskey:
    getIniSettingtheINI"Geometry""Shapes"
    -->"0"

    --TurnShapes on:
    setIniSettingtheINI"Geometry""Shapes" "1"
    -->true

#### See Also

- ObjExp : ExporterPlugin

- Import and Export Filters