Not like that. I mean, you can use the subprocess module (or if you're feeling adventurous, os.execl) from your .vpy to run another instance of vspipe (on the same script, if you want - use the --arg stuff in vspipe to determine which mode to operate in) which gets the frame numbers for you. You can retrieve them from that other instance simply by printing them to stdout, for example in a FrameEval, and reading them back in your main script. Or write them to a file, or something.
|