The ViewCapturetoFile Command doesn’t output any image when a clipping plane is enabled for the view. The command log states an image is succesfully saved however.
When a clipping plane is not present ViewCapturetoFile functions normally. I am using Rhino 7, 7.12.21313.06341