Sets the value of RelatingResource attribute. RelatingResource is reference to the resource to which the objects are assigned to.
IFC4 CHANGE: Datatype expanded to include IfcResource and IfcTypeResource.