Revit 2011 API provides user methods to select objects or point.

You can get Selection object from  commandData.Application.ActiveUIDocument.Selection.

The Selection has following members to select:

  • PickElementsByRectangle: Prompts the user to select multiple elements by drawing a rectangle.
  • PickObject: Prompts the user to select one object.
  • PickObjects: Prompts the user to select multiple objects.
  • PickPoint: Prompts the user to pick a point on the active work plane.

You can use the return value for these functions to get the selection results. We already posted a doc (http://blog.revitapp.com/2010/06/the-new-way-to-select-elements/) for PickObject, others are similar to use.