2026 Class
Changes 6
C

RevitLinkGraphicsSettings

Description:
Settings to override display of Revit link in a view.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.RevitLinkGraphicsSettings
public class RevitLinkGraphicsSettings : IDisposable
Name Return Type Description Inherited From
C RevitLinkGraphicsSettings() None Creates a new RevitLinkGraphicsSettings instance.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the RevitLinkGraphicsSettings
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetDiscipline() ViewDiscipline The linked document discipline of RevitLinkGraphicsSettings.
M GetDisciplineType() LinkVisibility The discipline type of RevitLinkGraphicsSettings.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetPhaseFilterId() ElementId The linked document phase filter id of RevitLinkGraphicsSettings, or InvalidElementId if there is no phase filter explicitly assigned.
M GetPhaseFilterType() LinkVisibility The phase filter type of RevitLinkGraphicsSettings.
M GetPhaseId() ElementId The linked document phase id of RevitLinkGraphicsSettings, or InvalidElementId if there is no phase explicitly assigned.
M GetPhaseType() LinkVisibility The phase type of RevitLinkGraphicsSettings.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetViewDetailLevel() ViewDetailLevel The linked document view detail level of RevitLinkGraphicsSettings.
M GetViewDetailLevelType() LinkVisibility The view detail level type of RevitLinkGraphicsSettings.
M IsViewRangeSupported(View) Boolean Returns true if the input view supports ViewRange settings of RevitLinkGraphicsSettings , false otherwise.
M SetDiscipline(LinkVisibility, ViewDiscipline) None Sets discipline and discipline type of RevitLinkGraphicsSettings.
M SetPhase(LinkVisibility, ElementId) None Sets phase id and phase type of RevitLinkGraphicsSettings.
M SetPhaseFilter(LinkVisibility, ElementId) None Sets phase filter id and phase filter type of RevitLinkGraphicsSettings.
M SetViewDetailLevel(LinkVisibility, ViewDetailLevel) None Sets view detail level and detail level type of RevitLinkGraphicsSettings.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ColorFill LinkVisibility 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 LinkedViewId parameter must have a value assigned if this property is set to ByLinkView .
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P LinkedViewId ElementId The id of the linked view associated with this RevitLinkGraphicsSettings, or InvalidElementId if no view is selected. If the LinkVisibilityType is set to ByLinkView , then there must be a valid LinkedViewId.
P LinkVisibilityType LinkVisibility 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.
P NestedLinks LinkVisibility The nested links of RevitLinkGraphicsSettings. The nested links can be set to ByHostView or ByLinkView .
P ObjectStyles LinkVisibility The object styles of RevitLinkGraphicsSettings. The object styles can be set to ByHostView or ByLinkView .
P ViewFilterType LinkVisibility The view filter type of RevitLinkGraphicsSettings. If the LinkVisibilityType is set to ByHostView , then the view filter type should be set to ByHostView . If the LinkVisibilityType is set to ByLinkView , then the view filter type should be set to ByLinkView . If the LinkVisibilityType is set to Custom , then the view filter type can be set to any value from LinkVisibility enum. The LinkedViewId parameter must have a value assigned if this property is set to ByLinkView . The Custom value corresponds to None option in the UI.
P ViewRange LinkVisibility 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 LinkedViewId parameter must have a value assigned if this property is set to ByLinkView .