Import Column Element - Top Center Points

Sorry if this question may have been addressed before I looked thru some older posts and searched but couldn’t find anything.

I am just starting out with Dynamo and have figured out how to import my column elements and slab elements as solids and generate the bounding perimeter lines for each element but what I really need for the columns is the center points at there top elevation? Ideally I would just have the slab perimeter lines and corner points and the column center points in lieu of the solids I have now but one step at a time.

Is there a direct code block to get this information or do I need to get the corner points and run through a loop to draw a line corner to corner and drop a point at the 50% length mark on the created diagonal line.

Thanks for any help.

See the thread here: http://dynamobim.com/forums/topic/structural-column-location/