Finds the id of the first available associated floor or structural plan view associated with this level.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ElementId FindAssociatedPlanViewId()
Return Value
ElementId
Remarks
The view id returned is determined by the same rules associated with the Revit tool "Go to Floor Plan".
Many levels may actually have more than one associated floor plan id and this routine will only return
the first one found. If no associated view is found, InvalidElementId is returned.
See Also
Reference