Share

acedXrefXBind

C++

Acad::ErrorStatus acedXrefXBind(
    const AcDbObjectIdArray symbolIds, 
    const bool bQuiet = true, 
    AcDbDatabase* pHostDb = NULL
);

File

acedxref.h

Description

This function binds the XREF table records whose object IDs are in symbolIds. This is the same as the XBIND command in AutoCAD.

symbolIds may contain IDs for the following symbol table record types: AcDbBlockTableRecord, AcDbLayerTableRecord, AcDbLinetypeTableRecord, AcDbTextStyleTableRecord (if it does not represent a shape file), AcDbRegAppTableRecord, and AcDbDimStyleTableRecord.

This function returns Acad::eOk if successful, Acad::eInvalidInput if symbolIds is empty, or Acad::eWrongObjectType if any of the IDs in symbolIds refer to objects of an inappropriate type.

Parameters

Parameters Description
symbolIds Input array of object IDs of the objects to be bound
bQuiet Input optional flag to suppress output messages
pHostDb Input pointer to the host database for the attach operation

Was this information helpful?