CFx SDK Documentation
2022 SP0
|
#include <XRefMan.h>
Static Public Member Functions | |
static OdResult | load (OdDbDatabase *pHostDb, const OdString &xrefBlockname) |
static OdResult | load (OdDbObjectIdArray &xrefBTRids) |
static OdResult | load (OdDbBlockTableRecord *pBTR) |
static OdResult | loadAll (OdDbDatabase *pHostDb, bool verify=false) |
static void | unload (OdDbBlockTableRecord *pBTR) |
static void | unload (OdDbObjectIdArray &xrefBTRids) |
static void | unloadAll (OdDbDatabase *pHostDb) |
static OdResult | bind (OdDbBlockTableRecord *pBTR, bool insertBind=false) |
static OdResult | detach (OdDbBlockTableRecord *pBTR) |
static void | setOverlaid (OdDbBlockTableRecord *pBTR, bool overlaid=true) |
This class manages External References (Xrefs) in an OdDbDatabase object. <group OdDb_Classes>
|
static |
Binds the specified Xref.
pBTR | [in] Pointer to the Block Table Record of the Xref to bind. |
insertBind | [in] True for Xref Insert, false for Xref Bind. |
|
static |
Detaches the specfied Xref.
pBTR | [in] Pointer to the Block Table Record of the Xref to detach. |
|
static |
Loads of specified Xref(s) if not currently loaded.
pBTR | [in] Pointer to the Block Table Record of the Xref to load. |
|
static |
Loads of specified Xref(s) if not currently loaded.
pHostDb | [in] Pointer to the host database. |
xrefBlockname | [in] Xref block name to load. |
|
static |
Loads of specified Xref(s) if not currently loaded.
xrefBTRids | [in] Array of the object IDs of the Block Table Records of the Xrefs to load. |
|
static |
Loads of all Xrefs not currently loaded.
pHostDb | [in] Pointer to the host database. |
verify | [in] Verify. |
Returns eOk if successful, or an appropriate error code if not.
|
static |
Controls the reference type fo the specified Xref.
pBTR | [in] Pointer to the Block Table Record of the Xref to detach. |
overlaid | [in] True for Xref Overlay, false for Xref Attach. |
|
static |
Unloads the specified Xref(s).
pBTR | [in] Pointer to the Block Table Record of the Xref to unload. |
|
static |
Unloads the specified Xref(s).
xrefBTRids | [in] Array of the object IDs of the Block Table Records of the Xrefs to nload. |
|
static |
Unloads all loaded Xrefs.
pHostDb | [in] Pointer to the host database. |