Is there a way to access flags via API?

We want to automate the export of image sequences of iClone animations. For this we set flags at the start and the end of animations of characters on a project level (which seems the only way possible) and plan to use a script that runs through the flags, uses the time of the first flag as start and the second flag as end and the name of the flag as filename for the image sequence (if possible).

We were not able to find a way in the Python API documentation to access the flags (time and name), because when we can do this, we can automate the process of exporting image sequences, saving us hours of time and would make your product very interesting for creators of 2D sprite animations for i.e. Point&Click Adventures.

Thanks for your help.

Sorry, the Flag API is not supported at the moment.
Here are some alternative solutions:

  1. Use the project’s Start Time and End Time to define the export range.

RLPy.RGlobal.GetStartTime()
RLPy.RGlobal.GetEndTime()

  1. Use the character name or project name as the exported file name.
avatar_list = RLPy.RScene.GetAvatars()
print(avatar_list[0].GetName())

Would these approaches meet your needs?

B.R
Johnny