Ah, so the situation changes. That always seems to be the case around here after answering the initial, limited, question.

Well, in that case, you need to do what you're doing since I've never found a refnum constant on the functions palettes. But then I've never scoured them, and it seems that you've gone down that road. You can save yourself some menu item selections by simply dragging the control to the block diagram, and that will create a constant.