There is however a way to automatically get the latest version of a given callback.
On your SOP node go to the Header folder. Turn the header toggle on and use the toggle add Version. Then a little function called HoudiniVersion() will be added to the beggining of you snippet. Based on your current houdini version we can now automatically deduce which version to use. meaning that
xform.LookAt(lookat_xform, lookup_xform)
should give the correct latest version. Having said that. This is currently not supported for your own custom functions.
There is however a way to automatically get the latest version of a given callback.
On your SOP node go to the Header folder. Turn the header toggle on and use the toggle add Version. Then a little function called HoudiniVersion() will be added to the beggining of you snippet. Based on your current houdini version we can now automatically deduce which version to use. meaning that
xform.LookAt(lookat_xform, lookup_xform)
should give the correct latest version. Having said that. This is currently not supported for your own custom functions.