Create Walls from Generic model or Mass

Hi! I am working in a large scale project that was modeled as generic model. Currently we converted that geometry in mass, and then created the walls by face. I was wondering if is it possible do that from dynamo? I try as follows: I select model elements> element.geometry> topology.face> wallByFace. It return empty list.
Are there any good practices for that?