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