Section View Node (Erasing previous sections)

Hi everyone,

I have created a scrip that creates a section(elevation) from a selected beam.
That works well for me but there is a little problem. When I select a new beam and I run the script, this “erase” the previous section it has already created.

The temporal solutELEVATION_BEAM_GENERATOR-test.dyn (43.4 KB)
ion: I have to close/reopen Dynamo to avoid this behaviour.

I guess there is a more elegant solution.

Thank you in advance.