Starting and Stoping Transactions

I am trying to rotate a line and have visual representation on my revit screen of the before and after situation.

Similiar to this post as shown by Mostafa:

For some reason, the only result from my dynamo script running yields the before and after, without the first line appearing before rotation. Any ideas on where I am going wrong?

As you can see, the only visual output is the two lines, the before and after rotation:
image%202

Thanks!

I solved this by re-creating the graph from what I believed to be essentially the same… not sure what went wrong.