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 |
|---|---|---|
| RevitLinkOptions(Boolean) | None | Creates a RevitLinkOptions object, specifying relative or absolute path type. If the link is workshared, all worksets will be opened. |
| RevitLinkOptions(Boolean, WorksetConfiguration) | None | Creates a RevitLinkOptions object, specifying relative or absolute path type, and the desired workset configuration. |
| RevitLinkOptions(RevitLinkOptions) | None | Constructs a new copy of the input RevitLinkOptions object. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| 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. |
| Name | Return Type | Description |
|---|---|---|
| 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 | bool | Specifies whether the .NET object represents a valid Revit entity. |