As it works now, Civil 3D will throw an error if your selection set contains the wrong objects. An improvement to the command would automatically filter out the invalid objects (i.e. ones without item codes). This would make the manual selection process faster for the user.