Results 1 to 3 of 3

Thread: SSGET returns error - bad SSGET list

  1. #1
    100 Club
    Join Date
    2007-02
    Posts
    148
    Login to Give a bone
    0

    Default SSGET returns error - bad SSGET list

    hi, i'm having a little problem with my ssget command so can someone please help. the code is as follows:
    Code:
    (setq s1 (ssget))
    (command "_mirror" s1 "" cent ang270 "n")
    
    (setq ss1 (entget (ssname s1 0)))
    (setq sst1 (cdr (assoc 8 ss1)))
    (setq s2 (ssget "X" '((sst1))))
    what the code is suppost to do is mirror the the selected lines and than it will select all lines mirrored and original (all in the same layer thus the code) for further manipulation. personnally i am doing array command to generate an image. the error show is [error: bad SSGET list].

    please help, thanks

    [ Moderator Action = ON ] What are [ CODE ] tags... [ Moderator Action = OFF ]
    Last edited by Mike.Perry; 2007-03-09 at 06:39 AM. Reason: [CODE] tags added.

  2. #2
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,707
    Login to Give a bone
    0

    Default Re: SSGET returns error - bad SSGET list

    Quote Originally Posted by tany0070
    hi, i'm having a little problem . . .
    replace your last line of code with (setq s2 (ssget "X" (list (cons 8 sst1))))

    : ) Happy Computing !

    kennet

  3. #3
    100 Club
    Join Date
    2007-02
    Posts
    148
    Login to Give a bone
    0

    Default Re: SSGET returns error - bad SSGET list

    Quote Originally Posted by kennet.sjoberg
    replace your last line of code with (setq s2 (ssget "X" (list (cons 8 sst1))))

    : ) Happy Computing !

    kennet
    thank you very much

Similar Threads

  1. SSGET question
    By Frank Dux in forum AutoLISP
    Replies: 1
    Last Post: 2013-06-21, 08:53 PM
  2. How to know name of Entity by ssget
    By Tharwat in forum AutoLISP
    Replies: 4
    Last Post: 2010-07-05, 07:41 PM
  3. prompting with ssget
    By Rryst in forum AutoLISP
    Replies: 4
    Last Post: 2009-07-08, 04:55 AM
  4. Help with SSGET and SUBST please
    By andrew.handley782323 in forum AutoLISP
    Replies: 1
    Last Post: 2008-11-03, 07:04 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
  •