API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::getModelView Method
OdDbViewport::getModelView Method
Syntax
C++
OdDbXrefObjectId getModelView() const;

Retrieves the exterally referenced object identifier of the model view associated with this viewport.

This method can throw the 'eUnableToGetViewAssociation' error if it fails to get the view association.

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