RevitLinkGraphicsSettings.SetPhaseFilter
Description:
Sets phase filter id and phase filter type of RevitLinkGraphicsSettings.
Sets phase filter id and phase filter type of RevitLinkGraphicsSettings.
public void SetPhaseFilter(
LinkVisibility phaseFilterType,
ElementId phaseFilterId
)
-
phaseFilterTypeThe type of the phase filter.
-
phaseFilterIdThe id of the phase filter from the linked document or InvalidElementId. If phaseFilterType is set to ByHostView or ByLinkView the phaseFilterId must be set to InvalidElementId. If phaseFilterType is set to Custom and phaseFilterId is InvalidElementId the state of the phase filter will correspond to the None option in the UI.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration