RVTDocs.com

PipeScheduleType.GetPipeScheduleId

Method
Description:
Returns an existing pipe schedule type with the same name.
Syntax
public static ElementId GetPipeScheduleId(
	Document doc,
	string name
)
Parameters
Parameter Type Description
doc Document The document
name String The name of requested schedule type.
Return Value
Type Description
ElementId Returns 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