2021 Class
Changes 0
C

RevitLinkOptions

Description:
This class contains the options in use when creating or loading a Revit link.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.RevitLinkOptions
public class RevitLinkOptions : IDisposable
Name Return Type Description
C RevitLinkOptions(Boolean) None Creates a RevitLinkOptions object, specifying relative or absolute path type. If the link is workshared, all worksets will be opened.
C RevitLinkOptions(Boolean, WorksetConfiguration) None Creates a RevitLinkOptions object, specifying relative or absolute path type, and the desired workset configuration.
C RevitLinkOptions(RevitLinkOptions) None Constructs a new copy of the input RevitLinkOptions object.
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetWorksetConfiguration() WorksetConfiguration Gets the set of worksets to open when creating the link.
M SetWorksetConfiguration(WorksetConfiguration) None Sets the set of worksets to open when creating the link.
Name Return Type Description
P 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.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.