A Handy tip. Have the following code in a *.lsp file & make it to load at startup of AutoCAD, by adding the *.lsp file to startup suite.
(ssget '((0 . "LINE")))
Eg: If you want to select only lines, type 'OL at prompt as follows.
(ssget '((0 . "CIRCLE")))
Select objects: 'OL
Select objects: Specify opposite corner: 95 found
<Selection set: 3c>
Specify base point or [Displacement] <Displacement>:
Note that you have used OL transparently. By this All the objects except LINES, will be filtered out. Same theory applies to circles also.
[ Moderator Action = ON ] What are [ CODE ] tags... [ Moderator Action = OFF ]