API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setSheetView Method
OdDbViewport::setSheetView Method
Syntax
C++
void setSheetView(const OdDbObjectId & objId);
Parameters 
Description 
const OdDbObjectId & objId 
[in] Object ID of the sheet view to be associated with this viewport. This method can the eInvalidObjectId error if one of the following cases is true:
  • The passed 'objId' is not valid.
  • Smart pointer to the view table record of the 'objId' is NULL.
 

Associates a sheet view with this viewport. 

 

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