RVTDocs.com

StructuralConnectionHandlerType.RemoveMainSubelementsFromCustomConnection

Method
Description:
Removes one or more subelements from a StructuralConnectionHandlerType. The subelements will be erased.
Syntax
public static void RemoveMainSubelementsFromCustomConnection(
	StructuralConnectionHandler structuralConnectionHandler,
	IList<Subelement> subelements
)
Parameters
Parameter Type Description
structuralConnectionHandler StructuralConnectionHandler The existing StructuralConnectionHandler having custom StructuralConnectionHandlerType which is about to be modified.
subelements IList The main Subelements of input StructuralConnectionHandler which are to be used to modify custom StructuralConnectionHandlerType.
Return Value
Exceptions
Exception Condition
ArgumentException Input StructuralConnectionHandler must have custom type. -or- All the input Subelements must belong to input StructuralConnectionHandler. After modification of StructuralConnectionHandlerType there must remain at least one subelement of structural connections category in StructuralConnectionHandler.
ArgumentNullException A non-optional argument was null