Revit 2025 API
Pipe |
Returns an existing pipe schedule type with the same name.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static ElementId GetPipeScheduleId( Document doc, string name )
Public Shared Function GetPipeScheduleId ( doc As Document, name As String ) As ElementId
public: static ElementId^ GetPipeScheduleId( Document^ doc, String^ name )
static member GetPipeScheduleId : doc : Document * name : string -> ElementId
Parameters
Return Value
ElementIdReturns the element id of request schedule type, or invalidElementId if the name is not found.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also