Share

AcDbCompoundObjectId::AcDbCompoundObjectId (AcDbObjectId&, AcDbDatabase*) Constructor

C++

ACDBCORE2D_PORT AcDbCompoundObjectId(
    const AcDbObjectId& id, 
    AcDbDatabase* pHostDatabase = NULL
);

Description

Creates an AcDbCompoundObjectId object from an ordinary AcDbObjectId. If the host database is NULL, the host database is obtained from the given AcDbObjectId. Even if it is in the XREF database, the database hosting the XREF is obtained.

Parameters

Parameters Description
id Input AcDbObjectId of the AcDbObject that this AcDbCompoundObjectId is going to reference.
pHostDatabase Input the host database. If NULL, the database is taken from the AcDbObjectId (even if it is in the XREF database).

Links

AcDbCompoundObjectId Class

Was this information helpful?