RevitLinkOptions
Description:
This class contains the options in use when creating or loading a Revit link.
This class contains the options in use when creating or loading a Revit link.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.RevitLinkOptions
System.Object
Autodesk.Revit.DB.RevitLinkOptions
public class RevitLinkOptions : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| RevitLinkOptions(Boolean) | None | Creates a RevitLinkOptions object, specifying relative or absolute path type. If the link is workshared, all worksets will be opened. | |
| RevitLinkOptions(RevitLinkOptions) | None | Constructs a new copy of the input RevitLinkOptions object. | |
| RevitLinkOptions(Boolean, WorksetConfiguration) | None | Creates a RevitLinkOptions object, specifying relative or absolute path type, and the desired workset configuration. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the RevitLinkOptions | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| GetWorksetConfiguration() | WorksetConfiguration | Gets the set of worksets to open when creating the link. | |
| SetWorksetConfiguration(WorksetConfiguration) | None | Sets the set of worksets to open when creating the link. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsRelative | bool | The type of path to use when creating the link. If true, Revit will store a relative path for the link. If false, Revit will store an absolute path. If the link is to a Revit Server location, isRelative must be false. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. |