Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbViewport::setModelView Method
Syntax
C++
void setModelView(const OdDbXrefObjectId & objId);

Associates a model view (defined by the passed external reference 'objId') with this viewport. 

 

Parameters
Description
objId
[in] External reference object identifier that corresponds to the model view in the exterally referenced database.

This method can throw the following errors:

  • eInvalidObjectId - The 'objId' is not a valid OdDbObjectId in this database.
  • eInvalidXrefObjectId - The 'objId' is not a valid OdDbXrefObjectId.
  • eUnableToSetViewAssociation - Application cannot associate the view with this viewport.
Copyright © 2002-2022. Open Design Alliance All rights reserved.