RVTDocs.com

ConduitSizeSettings.CreateConduitStandardTypeFromExisingStandardType

Method
Description:
Creates one conduit standard type with the new name and assign the conduit sizes to it from the existing standard type.
Syntax
public bool CreateConduitStandardTypeFromExisingStandardType(
	Document pADoc,
	string newStandardName,
	string existingStandardName
)
Parameters
Parameter Type Description
pADoc Document The document.
newStandardName String The new conduit standard name.
existingStandardName String The existing conduit standard name.
Return Value
Type Description
Boolean True if creating success; otherwise false.
Exceptions
Exception Condition
ArgumentException The conduit standard name already exists. -or- The conduit standard name does not exist.
ArgumentNullException A non-optional argument was null