Take a look here. Its about creating a new sheet each run but the bit of code is what you are looking for.
ToDSType(False) means Dynamo will hold onto control of the created element.
ToDSType(True) Will pass control to Revit and will execute a new task next run.