Description
Overlays the xref file specified by fileName to the database, thus creating a new xref BlockTableRecord. The new block table record's name is specified in blockName. Its object ID is returned.
This function does not lock the document, nor does it create an BlockReference instance of the new block table record.
Xref log file processing is available if that option is enabled. Normal AutoCAD behavior with regard to output indicators, such as progress meters and messages, may be unavailable if scripts are enabled and cmdecho is 0, if menu macros are enabled and menuecho is set to 0, or if menu encryption is set.
This function is available to non-AutoCAD-based host applications.
Visual Basic
Public Function OverlayXref( fileName As string, blockName As string ) As ObjectId
C#
public ObjectId OverlayXref( string fileName, string blockName );
Parameters
| Parameters | Description |
|---|---|
| string fileName | Input xref file path name |
| string blockName | Input xref block name symbol to use |