Returns an existing pipe schedule type with the same name.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static ElementId GetPipeScheduleId( Document doc, string name )
Parameters
- doc Document
- The document
- name String
- The name of requested schedule type.
Return Value
ElementIdReturns the element id of request schedule type, or invalidElementId if the name is not found.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |