Is it possible to ExpireSolution() in OnDynamicDraw in python component?

Hi guys,

I’d like to expire other component within OnDynamicDraw method in python component.

I tried to add comp.expiresolution(True) in a custom OnDynamicDraw method, but it seems like expiresolution can only be triggered after OnDynamicDraw finished.

Why did that happen?

sounds like you’ll get an error. a solution cannot be expired while it’s running. usually you’d want to call the schedule solution method.

Yes, what I was trying to pass data out from OnDynamicDraw, it seems like I did meet this conflict. Will schedule solution work during OnDynamicDraw?