It works perfectly. The only thing you have to do is replace CableTray By CableTraytype in Element Types.
Element Types