Skip to main content
Inspiring
June 1, 2023
Answered

Save sequence data on SequenceSetdown

  • June 1, 2023
  • 1 reply
  • 796 views

Can I save sequence data on SequenceSetdown?

This topic has been closed for replies.
Correct answer shachar carmi

no. the data saved with the project is the last handle used or flattened (depending on if you have set the flattening flag).

sequence setdown is AE's way of tellnig you the data needs to be destructed and freed. logic being that the data may not just be a simple handle to be freed, but rather a structure with pointers that need to be separately destructed and freed.

1 reply

shachar carmiCommunity ExpertCorrect answer
Community Expert
June 1, 2023

no. the data saved with the project is the last handle used or flattened (depending on if you have set the flattening flag).

sequence setdown is AE's way of tellnig you the data needs to be destructed and freed. logic being that the data may not just be a simple handle to be freed, but rather a structure with pointers that need to be separately destructed and freed.

Inspiring
June 15, 2023

Can I flatten sequence data on sequence setdown. I think I have flattened it and I'm able to get the data when reopening the project.
But all the non-string data and just one string data is there. The other strings were not saved. Any suggestions

Community Expert
June 15, 2023

again no. sequence setdown is only for your pluging to destruct and free the data.

if you need your data to be flattened, set PF_OutFlag_SEQUENCE_DATA_NEEDS_FLATTENING on global setup to receive PF_Cmd_SEQUENCE_FLATTEN calls.