Results 1 to 3 of 3

Thread: Selection tip - select only Lines or Circles

  1. #1
    Member
    Join Date
    2004-11
    Posts
    5

    Default Selection tip - select only Lines or Circles

    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")))
     )
    Code:
    (defun c:OC()
      (ssget '((0 . "CIRCLE")))
     )
    Eg: If you want to select only lines, type 'OL at prompt as follows.
    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 ]
    Last edited by Mike.Perry; 2006-05-15 at 12:20 PM. Reason: [CODE] tgas added.

  2. #2
    I could stop if I wanted to Comach's Avatar
    Join Date
    2005-03
    Location
    Scotland
    Posts
    284

    Default Re: Selection tip - select only Lines or Circles

    This is good.

    You might find that using the FILTER command will provide more options i.e. you select Circle and also select by colour or layer etc.

  3. #3
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,520

    Default Re: Selection tip - select only Lines or Circles

    ...and don't forget QSELECT, and if you have Express Tools, the SSX command.

Similar Threads

  1. cannot draw (lines circles)
    By nickaljabi468845 in forum AutoCAD General
    Replies: 2
    Last Post: 2012-03-05, 02:48 PM
  2. Plotting raster & lines & circles _ xrefs
    By 3D Jack in forum AutoCAD Plotting
    Replies: 7
    Last Post: 2006-09-11, 06:03 PM
  3. Select last object selection.
    By bskripac in forum AutoCAD General
    Replies: 4
    Last Post: 2005-02-10, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •