2027 Method
Changes 0
M

DocumentPreviewSettings.ForceViewUpdate

Description:
Sets Revit to update the preview view if necessary.
Remarks:

An update is necessary if the view has never been displayed, or if the model has been changed and the view has not been updated or accessed. If the preview view has not been updated, the preview may not be properly saved.

This setting applies only to a single Save operation and is reset to false after it is accessed.

public void ForceViewUpdate(
	bool forceViewUpdate
)
  • Boolean
    forceViewUpdate
    True to force update of the preview view. False to skip update if necessary (the default).