AcMapIEImportReactor:: RecordReadyForImport Method
Invoked before an entity is imported.
virtual bool RecordReadyForImport( AcDbEntity* pEnt );
Parameters |
Description |
pEnt |
Input entity. |
Returns
Returns true if the specified entity should be imported; otherwise, returns false.
Remarks
The entity is not a const, so you can modify it as needed. The return value indicates whether an entity is ready to import. If this function returns false, the entity is discarded and no more reactors in the chain are called. If this function returns true for all reactors in the chain, the entity is added to the database. Only after an entity is added to the database can the entity can be classified or class properties be added to it.
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].