Take a look at this thread.
I want to edit the sketch of an existing floor or slab - Revit - Dynamo (dynamobim.com)