Verify that %templateId% can be view template for this view:
it can be invalidElementId or represent template view that is compatible with this view
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2013
Syntax
| Visual Basic |
|---|
Public Function IsValidViewTemplate ( _
templateId As ElementId _
) As Boolean |
| Visual C++ |
|---|
public:
bool IsValidViewTemplate(
ElementId^ templateId
) |
Return Value
True if %templateId% is valid as view template, false otherwise.
Exceptions
See Also