Just an addition I have already created the attribute tag. Within the tag I have predefined several fields ie. size, spec, description, qty. All except the qty field are static. The returned value from the length of pipe drawn would need to be reflected in this qty field.