Jump to content

Lisp needed for Move objects with specific distance


dreams

Recommended Posts

BIGAL,

Even better idea is instead of sorting that list (in my prev suggestion) is to use assoc list:

(if 
 (setq p
   (cdr 
     (assoc
       TheTextCont
       '(  ("1" 25. 166. 0.)
           ("2" 25. 45. 0.)
           ("3" 217.5 166. 0.) 
           ("4" 217.5 45. 0.) 
       )
     )
   )
 )  
 (command "_.move" nthSS "" "_non" BBoxLowerLeftPt "_non" p)
)

Link to comment
Share on other sites

  • 3 years later...
  • Replies 21
  • Created
  • Last Reply

Top Posters In This Topic

  • dreams

    5

  • BIGAL

    4

  • mihaibantas

    4

  • Tharwat

    3

Top Posters In This Topic

Posted Images

I need to move object from one place to another place. Initial place can be selected by user using getpoint but for final point user will have to enter coordinates...

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...