Python help - Get subelements

This appears to be all you need to get the stair element, from which you can get the topology (as one long list)

stid = mstr.GetAllStairsIds()
for i in stid:
	str1.append(doc.GetElement(i))

But if I try to get the landings and stair runs, it still revers back to the main elements which has been copied up into the multistorey stair. I really need to be able to identify the stair run and landing elements within the multistoreystair, otherwise it will be impossible to sort all the surfaces into any logical order

Get subelements_6_Dynamo 1_3.dyn (9.8 KB)