RVTDocs.com

ReferenceableViewUtils.GetReferencedViewId

Method
Description:
Gets the id of the view referenced by a reference view (such as a reference section or reference callout).
Syntax
public static ElementId GetReferencedViewId(
	Document document,
	ElementId referenceId
)
Parameters
Parameter Type Description
document Document The document containing the elements.
referenceId ElementId The reference view that will be changed to refer to a different View.
Return Value
Type Description
ElementId The id of the referenced view.
Exceptions
Exception Condition
ArgumentException referenceId is not a valid reference view.
ArgumentNullException A non-optional argument was null