How to find Path/Name of current xcomp?

 

Hi there.

Is there a neat way to determine the name and path of the currently running xcomp from within that very xcomp itself?

System Params does not not provide that information?
Maybe there's a secret script command?... :-)

Cheers & all the best.

Eric.


   EricWest

 
Profile Image
Eifert@Aximmetry
  -  

Hi Eric,

There is no method to get the compound's path that I know of. What do you want to use such a feature for? We can probably add this to our request list.

These two modules might help you in what you want to achieve:
The Run Compound module can run other compounds in a new tab.
The Auto Name module can change the compound's name it is in.

Warmest regards,

 
Profile Image
EricWest
  -  

Hi Eifert.

This request is related to the 'graceful restart':
https://my.aximmetry.com/post/2343-how-to-gracefully-restart-axy

We still have the issue with that 1 second audio offset after 06:13-ish hours.
Since our sessions normally last for 8 hours, we've developed a compound to restart Axy during lunchbreak to avoid running into the 6-hour-realm of doom :-)

To do so, I store all current settings (camera, position, content source,....) in a JSON file,
kill Axy (see above thread)
restart Axy
load the last xcomp, the JSON, and apply the settings, so that our lecturer can continue from the same point he was before.

Since there's no way to determine the current xcomp's path/name I have to currently hard-code the name of the xcomp in our restart compound.

If there was a way to query the current xcomp's name, the 'hardcoding' could be automated, making the process less error prone... :-)

Cheers & all the best.

Eric.


 
Profile Image
Eifert@Aximmetry
  -  

Hi Eric,

We added to our request list to access the compound name and path.
Note that we are working on a permanent fix for the audio delay.

Warmest regards,

 
Profile Image
EricWest
  -  

Hi @Eifert.

Thanks for the info and the good news regarding a likely fix!

All the best.

Eric.


;