There is a face and a straight line, how can I use the selection method to get the coordinates of both.
If there is just one face or one line,I can achieve with the following code。
array = Sketchup.active_model.selection[0].vertices.collect{|v| v.position}
But if I select a face and a line at the same time, how do I get their coordinates?