Creates a new pipe schedule type with the given name.
Namespace: Autodesk.Revit.DB.PlumbingAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static PipeScheduleType Create(
Document doc,
string name
)
Parameters
- doc Document
-
The document
- name String
-
The name of requested schedule type.
Return Value
PipeScheduleType
Returns the newly created schedule type.
Exceptions
Remarks
If the name is already taken by an existing schedule type, an InvalidOperationException will be thrown.
See Also
Reference