Whenever in the opinion of the court it is proper for the jurors to have a view of the place in which any material fact occurred, it may order them to be conducted in a body under the charge of an officer to the place, which shall be shown to them by some person appointed by the court for that purpose. They may be accompanied by the defendant, his counsel and the prosecuting attorney. While the jurors are thus absent, no person other than the officer and the person appointed to show them the place shall speak to them on any subject connected with the trial. The officer or person appointed to show them the place shall speak to the jurors only to the extent necessary to conduct them to and identify the place or thing in question.
K.S.A. 22-3418