Tests whether the given state is valid for the associated view and the context the view is currently in.
Assembly: RevitAPI (in RevitAPI.dll) Version: 220.127.116.11 (18.104.22.168)
Since: 2016 Subscription Update
A state of the PreviewFamilyVisibilityMode
Return ValueReturns True if the state is applicable for the view; False otherwise.
As long as the PreviewFamilyVisibility mode is available and enabled in the associated view, the Off and On states are always valid. However, the Uncut state is only valid in plan views and reflected ceilings.
|A value passed for an enumeration argument is not a member of that enumeration