Skip to content

CADLinkOptions

Public Class

This class contains the options in use when or reloading a CAD link type (DWG, DXF, etc.)

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.CADLinkOptions

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

Name

Description


Public Method
CADLinkOptions(CADLinkOptions)

Constructs a new copy of the input CADLinkOptions object.


Public Method
CADLinkOptions(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.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

Whether Revit should preserve the link’s graphic overrides on reload.


Public Property

The id of the view to use as the link’s reference view, if the reference view has been deleted.


Methods

Name

Description


Public Method

Releases all resources used by the CADLinkOptions


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)