Share

PipeScheduleType.GetPipeScheduleId Method

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

ElementId
Returns the element id of request schedule type, or invalidElementId if the name is not found.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?