2024 Class
Changes 2
C

OpenOptions

Description:
This class contains options available for opening a document from disk.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.OpenOptions
public class OpenOptions : IDisposable
Name Return Type Description
C OpenOptions() None Constructs a new instance of the options class using default values.
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetOpenWorksetsConfiguration() nullNothingnullptr Gets the object used to configure the worksets to open when the model is opened.
M SetOpenWorksetsConfiguration(WorksetConfiguration) None Sets the object used to configure the worksets to open when the model is opened.
Name Return Type Description
P AllowOpeningLocalByWrongUser bool Specifies whether a local file is allowed to be opened as read-only by a user other than its owner.
P Audit bool Specifies whether to expand all elements in order to check for corruption.
P DetachFromCentralOption DetachFromCentralOption An option that specifies whether or not a workset-enabled document is detached from its central document.
P IgnoreExtensibleStorageSchemaConflict bool Specifies whether to ignore the error of schema conflict.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P OpenForeignOption OpenForeignOption An option that specifies how to open files saved by an application that was not developed or licensed by Autodesk.