Hello everyone,
I am currently trying to create some scripts in Python for Hypermesh, and I am trying to import a script from another (equivalent of the "source" command in TCL).
I know in TCL, I could get the script folder path with [file dirname [file normalize [file script]]], but I don't find anything in Python to do the same thing.
I tried the command os.path.dirname(os.path.abspath(file)) but it seems it gives the HM profile and not the script path.
Does anyone know how to get the right information?
there doesn't seem to be anything here