hi everyone.wish you have a nice day.
i need some help about scripting.but my English skill is not well.sorry for that.
i have a hip named "test_hipfile_v001.hip".in this hip file i have a geometry ROP node that i want cache something like pyro,particles.and i want the cache named like "cache_pyro_v001.bgeo",the important thing is the cache version equal file version.
here is the function i want achieve:
when my hipfile update version to v002,i want the cache version auto-update to v002.
i know $HIPNAME can fetch the file name ,but i don't know how to fetch the version info from $HIPNAME and transfor to .oh,i forgot another thing is i want code only in the Geometry ROP Node,because i achieve this function in SOP use Attribute Wrangle SOP Node,and transform the version info to ROP Node,but i think this too messy.
can you gays give me some advise?thanks.