GetUpdateState - Purpose?

Major objects in mAirList like the PlayList and CartWall are descended from IUpdateObject. This allows scripts to place temporary editing locks on them (via Begin/EndUpdate) to avoid conflicts with changes made by the main program.

I’m wondering about the purpose of the GetUpdateState method of IUpdateObject. Polling this value seems to give an ever increasing number, which seems concerning.

Is this counting the actual number of simultaneous locks, or does it just increment whenever any lock is applied to make changes?

Thanks, Greg

It’s an internal value, you can safely ignore it.

It basically tracks how many BeginUpdate/EndUpdate cycles the object has gone through. It is used in some places internally as some kind of “version number”.