Set phase after operation is complete

Hi, for this script to work. I have to set the phases to a picked phase. Then at the end of it, revert back to the original phase the view was on. I’m not sure how to do this after the DetailLine.FromCurve is done. Is there a way i can extract views after the set parameter by name function? possibly something i filter? the highlighted line shows the original phase setting coming through to go back too.

If the issue is timing in your graph then you could simply use a codeblock waiting for the “go” from the workflow before passing on information, this works like the passthrough node from clockwork:

Content of the Code block:
{waitfor,pass}[1]

The “pass” value could be the original phase.

1 Like

awesome thanks man, this will be super helpful for other stuff