How can I convert the locations of a group of objects into the vertices of an object?
In the .gif I invoke the Pie Menu with the W key.



The important part in this setup is the small loop that takes a list of objects and returns their locations in a new list. This basic setup is pretty common all kinds of animation nodes trees.

Extra notes:

The python equivalent to this loop would be:

# Long Version
locations = []
for object in objectList:
    location = object.location
    locations.append(location)

# More Pythonic Version
locations = [object.location for object in objectList]


The core of the addon translates for your node tree into python code that looks like this:

 def main(loop_iterator_0):
     global _frame_9pg, _enabled_jfa
     loop_generator_output_0 = []
     loop_zipped_list = list(zip(loop_iterator_0))
     loop_iterations = len(loop_zipped_list)
     for current_loop_index, (loop_iterator_element_0, ) in enumerate(loop_zipped_list): 
         # Node: 'NodeTree' - 'Object Transforms Input'
         try:
             _location_9pg = loop_iterator_element_0.location
         except:
             _location_9pg = mathutils.Vector((0, 0, 0))
             _rotation_9pg = mathutils.Euler((0, 0, 0))
             _scale_9pg = mathutils.Vector((0, 0, 0))
             _quaternion_9pg = mathutils.Quaternion((1, 0, 0, 0))
         if _enabled_jfa:
             loop_generator_output_0.append(_location_9pg)
         pass
     return loop_generator_output_0