RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ViewSheet

ViewSheet.ConvertToRealSheet

Method
Description:
Converts a placeholder sheet to a real one with an optional titleblock.
Syntax
public void ConvertToRealSheet(
	ElementId titleBlockTypeId
)
Parameters
Parameter Type Description
titleBlockTypeId ElementId The id of the placeholder sheet, or invalidElementId if no titleblock should be added.
Return Value
Exceptions
Exception Condition
ArgumentException titleBlockTypeId does not correspond to a TitleBlock type.
ArgumentNullException A non-optional argument was null
InvalidOperationException This method may only be called on a placeholder sheet. -or- Failed to convert the sheet because the input titleblock could not be applied.