0

How can I detect what version of RV is running?

We are working to port our tools from RV 3 to RV 4 and this requires some subtle changes due to the difference in things like node names and what not.

How can my code detect which version of RV is running so as to apply the proper node names based on the version?

2 条评论

  • 0
    Avatar
    Jon Morley

    Hi John,

    I would use the TWK_APP_VERSION environment variable:

    import os; print(os.environ['TWK_APP_VERSION'])

    Will that work?

    Thanks,
    Jon

  • 0
    Avatar
    John Vanderbeck

    Sounds like that will work.  Thanks!

请先登录再写评论。