API Reference > OdDg Classes > OdDgReferenceAttachmentHeader Class > OdDgReferenceAttachmentHeader Methods > OdDgReferenceAttachmentHeader::getReferencedModel Method
OdDgReferenceAttachmentHeader::getReferencedModel Method
Syntax
C++
OdDgModelPtr getReferencedModel();

returns a linked model if the short & full names of database and the name of model allow to find any

  1. Look at the comments for getReferenceAttachment()
  2. It works for DGN databases only
  3. All returned models are opened for read only
  4. Returns zero if no model (or no database) are found
Copyright © 2002–2020. Open Design Alliance. All rights reserved.