Gets the id of the view referenced by a reference view (such as a reference section or reference callout).
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ElementId GetReferencedViewId(
Document document,
ElementId referenceId
)
Parameters
- document Document
-
The document containing the elements.
- referenceId ElementId
-
The reference view that will be changed to refer to a different View.
Return Value
ElementId
The id of the referenced view.
Exceptions
See Also
Reference