RVTDocs.com
Namespace: Autodesk.Revit.DB

Visibility

Enumeration
Description:
Describes the visibility of a particular geometry object.
Syntax
public enum Visibility
Visibility Enumeration Members:
Name Description
0 The geometry object is always visible. This type of geometry is always returned by Geometry [ Options ]
1 The geometry object is visible, but is affected by highlight or prehighlight special coloration. This type of geometry is returned by Geometry [ Options ] if IncludeNonVisibleObjects is true.
2 The geometry object is visible in some contexts, but not in others. This type of geometry is always returned by Geometry [ Options ] , even when Revit is in a context where the geometry should not be visible, but only if IncludeNonVisibleObjects is true. Examples of geometry of this class include Solids representing insulation and lining for MEP ducts and pipes.
3 The geometry object is never visible. This type of geometry is never returned by Geometry [ Options ] but may be obtained by other API operations.