Walls curve not extracted in dynamo

3 4

Hello i have walls in revit and i want to place roof on these walls in revit by dynamo , so i think i should extract curve of walls as seen in Question Answers somewhere on this platform . but when i follow the same nodes like select modal elements and element.curve , the list is empty

Try Element.Location

still not working

o you were talking about element.getlocation
it worked actually