View Single Post
Old 17th August 2017, 19:59   #6  |  Link
TheFluff
Excessively jovial fellow
 
Join Date: Jun 2004
Location: rude
Posts: 1,100
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.
TheFluff is offline   Reply With Quote