MechanicalSystemType.Create
Description:
Creates a new instance of a mechanical system type and adds it to the document.
Creates a new instance of a mechanical system type and adds it to the document.
public static MechanicalSystemType Create(
Document ADoc,
MEPSystemClassification systemClassification,
string name
)
-
ADocThe document where the element will be created and added.
-
systemClassificationThe classification for the mechanical system type to be created
-
StringnameThe name of the mechanical system type to be created.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration
-
The system classification is not valid for the domain of this system type.