CADLinkOptions Class

This class contains the options in use when or reloading a CAD link type (DWG, DXF, etc.)
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBCADLinkOptions

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class CADLinkOptions : IDisposable

The CADLinkOptions type exposes the following members.

Constructors
 NameDescription
Public methodCADLinkOptions(CADLinkOptions) Constructs a new copy of the input CADLinkOptions object.
Public methodCADLinkOptions(Boolean, ElementId) Creates a CADLinkOptions object, specifying whether to preserve graphic overrides, and what view to use if the link's view has been deleted.
Top
Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyPreserveOverrides Whether Revit should preserve the link's graphic overrides on reload.
Public propertyViewId The id of the view to use as the link's reference view, if the reference view has been deleted.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the CADLinkOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also