1- let the user select the pipe whose the desired cross family type is defined in its routing preferences prior to hitting the tool button.
2- extract the desired cross family type.
3- do the NewCrossFitting()
4- use FamilyInstance.ChangeTypeId(desiredFamilyType.Id) method to change the created cross to the desired cross family.
Hope this helps!