Returns mapping template element by name.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static IFCCategoryTemplate FindByName( Document document, string name )
Parameters
- document Document
- The document to find the mapping template with the specified name.
- name String
- Name of the mapping template to find.
Return Value
IFCCategoryTemplateThe mapping template element, or nullptr if not found.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |