AcMapIEImporter Class

Land Desktop Development ARX CPP SDK

Links
AcMapIEImporter Class
 

Provides functions that handle the import process. A default import operation brings in no attribute data unless you change this behavior by using functions in the AcMapIEInputLayerclass. For more information, search for importing in AutoCAD Map Help. Do not explicitly delete any strings returned by any of the functions or their output parameters in this class (but delete all other types of returned objects).

class AcMapIEImporter;
File

AcMapIEImporter.h

Adds a reactor to this importer. You must derive a reactor from the virtual base class AcMapIEImportReactor. Reactors are triggered through only the API; an end-user cannot trigger a reactor by using the AutoCAD Map user interface. Reactors are live until they are removed explicitly with RemoveReactor()or until AutoCAD Map exits. An importer is a singleton; all callers add reactors to the same importer instance. If an importer has multiple reactors, they are called in the order added. 
Determines whether classified properties are audited after import. 
Retrieves the current driver options. Driver options can be set in the file MapImport.ini, by calling InvokeDriverOptionsDialog(), or by loading a profile. Use this function to first retrieve the current driver options before adding driver options with SetDriverOptions(). 
Performs the import. 
Determines whether polygons are imported as closed polylines or as polygons. 
Init 
Initializes an instance of this class. Call this function before any other import function (or that function will return AcMapIE::ErrCode kErr_NotInitialized). You must call Init() again after every call to Import() (with one exception: you can call RemoveReactor()after Import()without first calling Init()). 
Retrieves an iterator over the input layers. An input layer refers to a single MIF/MID or Shape file, a level or geometry type in a DGN file, or a geometry type in a Coverage or E00 file. A layer consists of a layer name and a schema for attribute data. You are responsible for determining how this data is imported; for more information, see the AcMapIEInputLayer and AcMapIEColumnclasses. 
Invokes the driver-specific Driver Options dialog box. Not all drivers have dialog boxes, so this function may finish immediately, with the returned error code indicating the status of the dialog box. Any setting changes that an AutoCAD Map user makes in this dialog box are reflected in subsequent calls to DriverOptions(). You can set driver options programmatically by using SetDriverOptions(). Any driver options in the file MapImport.ini are read and available in the set of driver options returned by DriverOptions(). 
Loads an import profile (. 
Determines which location window is used to filter incoming entities. 
Removes a reactor from this importer. 
Saves an import profile (. 
Enables or disables classified-property audits after import. 
Sets the driver options. Typically, you should retrieve the current driver options from DriverOptions()and make changes as needed by using this function. 
Sets the manner in which polygons are imported: as closed polylines or as polygons. 
Sets the location window used to filter incoming entities. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].