Skip to content

RevitLinkGraphicsSettings

Public Class

Settings to override display of Revit link in a view.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.RevitLinkGraphicsSettings

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class RevitLinkGraphicsSettings : IDisposable

The RevitLinkGraphicsSettings type exposes the following members.

Constructors

Name

Description


Public Method
RevitLinkGraphicsSettings

Creates a new RevitLinkGraphicsSettings instance.


Properties

Name

Description


Public Property

The color fill of RevitLinkGraphicsSettings. The color fill can be set to ByHostView or ByLinkView. Only a view that supports color fill can have this property set to ByLinkView. To check if the view supports the color fill use SupportedColorFillCategoryIds. to see if there is any supported color fill category for the view. The

parameter must have a value assigned if this property is set to ByLinkView.


Public Property
IsValidObject

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


Public Property

The id of the linked view associated with this RevitLinkGraphicsSettings, or

if no view is selected. If the is set to ByLinkView, then there must be a valid LinkedViewId.


Public Property

The visibility type of RevitLinkGraphicsSettings. If the type is set to ByHostView or ByLinkView, then the dependent properties of RevitLinkGraphicsSettings will be reset to their default state. The state of dependent properties can be changed later.


Public Property

The nested links of RevitLinkGraphicsSettings. The nested links can be set to ByHostView or ByLinkView.


Public Property

The object styles of RevitLinkGraphicsSettings. The object styles can be set to ByHostView or ByLinkView.


Public Property

The view filter type of RevitLinkGraphicsSettings. If the

is set to ByHostView, then the view filter type should be set to ByHostView. If the is set to ByLinkView, then the view filter type should be set to ByLinkView. If the is set to Custom, then the view filter type can be set to any value from LinkVisibility enum. The parameter must have a value assigned if this property is set to ByLinkView. The Custom value corresponds to None option in the UI.


Public Property

The view range of RevitLinkGraphicsSettings. The view range can be set to ByHostView or ByLinkView. Only a view that supports view range can have this property set to ByLinkView. To check if the view supports the view range use [!:Autodesk::Revit::DB::LinkVisibility::IsViewRangeSupported(Autodesk::Revit::DB::LinkVisibility)]. The

parameter must have a value assigned if this property is set to ByLinkView.


Methods

Name

Description


Public Method

Releases all resources used by the RevitLinkGraphicsSettings


Public Method

Equals

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


Public Method

The linked document discipline of RevitLinkGraphicsSettings.


Public Method

The discipline type of RevitLinkGraphicsSettings.


Public Method

GetHashCode

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


Public Method

The linked document phase filter id of RevitLinkGraphicsSettings, or

if there is no phase filter explicitly assigned.


Public Method

The phase filter type of RevitLinkGraphicsSettings.


Public Method

The linked document phase id of RevitLinkGraphicsSettings, or

if there is no phase explicitly assigned.


Public Method

The phase type of RevitLinkGraphicsSettings.


Public Method

GetType

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


Public Method

The linked document view detail level of RevitLinkGraphicsSettings.


Public Method

The view detail level type of RevitLinkGraphicsSettings.


Public Method
Static Member

Returns true if the input view supports ViewRange settings of RevitLinkGraphicsSettings, false otherwise.


Public Method

Sets discipline and discipline type of RevitLinkGraphicsSettings.


Public Method

Sets phase id and phase type of RevitLinkGraphicsSettings.


Public Method

Sets phase filter id and phase filter type of RevitLinkGraphicsSettings.


Public Method

Sets view detail level and detail level type of RevitLinkGraphicsSettings.


Public Method

ToString

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