<Code Lib>
2023 Method
Changes 0
M

Viewport.CanAddViewToSheet

Description:
Verifies that the view can be added to the ViewSheet.
Remarks:
Schedule views are not handled by the Viewport class. Refer to [!:Autodesk::Revit::DB::ScheduleSheetInstance::Create()] for information about adding schedules to sheets.

public static bool CanAddViewToSheet(
	Document document,
	ElementId viewSheetId,
	ElementId viewId
)

Return Value bool True if the view can be added to the ViewSheet, false otherwise.

Loading…