RVTDocs.com

ConduitSizeSettings.AddSize

Method
Description:
Inserts a new ConduitSize in to the conduit size settings. The conduit standard name determines the location of the new size in the size table.
Syntax
public void AddSize(
	string standardName,
	ConduitSize sizeInfo
)
Parameters
Parameter Type Description
standardName String The conduit standard name.
sizeInfo ConduitSize The new ConduitSize to be added.
Return Value
Exceptions
Exception Condition
ArgumentException The conduit standard name does not exist. -or- The conduit size already exists.
ArgumentNullException A non-optional argument was null
InvalidOperationException The function is called during iterating the size set.