API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > getLinkages Method > OdDgElement::getLinkages Method (OdUInt16, OdRxObjectPtrArray&)
OdDgElement::getLinkages Method (OdUInt16, OdRxObjectPtrArray&)
Syntax
C++
void getLinkages(OdUInt16 appId, OdRxObjectPtrArray& linkages) const;

Returns the linkages with specified application ID.

For all methods working with linkages, appId == 0 for DMRS linkages. It is acceptable, because DMRS linkages do not have appId (aka primaryId) and appId == 0 is not available for non-DMRS linkages.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.