API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::syncModelView Method
OdDbViewport::syncModelView Method
Syntax
C++
OdResult syncModelView();

Returns one of the following values that represents a result of method execution:

  • eOk - Updated successfully.
  • eUnableToSyncModelView - Unable to get the model view, or its resolved external reference ID (resolved to OdDbObjectId) is not valid.
  • eInvalidView - Smart pointer to the view table record of the resolved ID is NULL.

Updates (syncronizes) parameters of the OdDbViewport object with parameters in the associated view.

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