PipeScheduleType.Create
Description:
Creates a new pipe schedule type with the given name.
Creates a new pipe schedule type with the given name.
Remarks:
If the name is already taken by an existing schedule type, an InvalidOperationException will be thrown.
If the name is already taken by an existing schedule type, an InvalidOperationException will be thrown.
public static PipeScheduleType Create(
Document doc,
string name
)
-
docThe document
-
StringnameThe name of requested schedule type.
-
name is an empty string.
-
A non-optional argument was null
-
None of the following disciplines is enabled: Mechanical Electrical Piping.
-
The name is already taken by an existing pipe schedule type.