Jump to content

Need help with selecting multiple objects


pmxcad

Recommended Posts

Hello,

i found info on Lee Mac`s website about select multiple objects, i put in a lisp but it returns NIL.

I miss something, where is the problem?

 

(defun c:test ()

;---------------- ssget Function Reference, info from website Lee Mac Programming ----------------

(setq ss1 (ssget 
'((-4 . "<OR")
   (-4 . "<AND") (0 . "LWPOLYLINE") (8 . "viewport") (39 . 0.0) (62 . 2) (-4 . "AND>")
   (-4 . "<AND") (0 . "LWPOLYLINE") (8 . "hatch-boundery") (39 . 0.0) (62 . 10) (-4 . "AND> ")
   (-4 . "<AND") (0 . "HATCH") (2 . "SOLID") (8 . "hatch") (62 . 10) (-4 . "AND> ")
(-4 . "OR>"))))
(command "move" ss1)
)

 

 

thank you in advance

PmxCAD

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...