Hi,
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.
Code:(defun c:OL() (ssget '((0 . "LINE"))) )Eg: If you want to select only lines, type 'OL at prompt as follows.Code:(defun c:OC() (ssget '((0 . "CIRCLE"))) )
Command: copy
Select objects: 'OL
Select objects: Specify opposite corner: 95 found
Select objects:
<Selection set: 3c>
95 found
Select objects:
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.
Regards,
Pradeep Hebbar
[ Moderator Action = ON ] What are [ CODE ] tags... [ Moderator Action = OFF ]


Reply With Quote
