ConvertToRealSheet Method


Converts a placeholder sheet to a real one with an optional titleblock.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2011

Syntax

C#
public void ConvertToRealSheet(
	ElementId titleBlockTypeId
)
Visual Basic
Public Sub ConvertToRealSheet ( _
	titleBlockTypeId As ElementId _
)
Visual C++
public:
void ConvertToRealSheet(
	ElementId^ titleBlockTypeId
)

Parameters

titleBlockTypeId
Type: Autodesk.Revit.DB ElementId
The id of the placeholder sheet, or invalidElementId if no titleblock should be added.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException titleBlockTypeId does not correspond to a TitleBlock type.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null
Autodesk.Revit.Exceptions 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.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →