this function is a shortcut for hwapi _ insert it inserts an object of type collection and sets some of the attributes required for a collection the parameter array contains the required elements object and parentidentifier and the optional elements parameter and attributeselector see hwapi _ insert for the meaning of each element 