Results 1 to 2 of 2

Thread: LISP: move dopo di insert

  1. #1
    Member
    Join Date
    2008-07
    Posts
    26
    Login to Give a bone
    0

    Question LISP: move dopo di insert

    Ciao,

    Ho questo codice che fa uno insert di un block e dopo muove il block.

    Non so per che, ma fa il insert e muove il block ma non lo muove il "displacement" che ho scrito. In vece, a volte lo fa, a volte no e cambia il "displacement"

    Se qualcuno sa cosa sucede con questo codice, per favore, farmi sapere...

    (e scusate il italiano...no e la mia lingua e non ho parlato da molto tempo fa)

    qui, il code:

    (command "_insert" pipe_dir_top_last pti "1" "1" "0")
    (if (/= top_last_verif+1 nil) (command "move" "l" "" "d" "0,0,250"))
    (if (/= top_last_verif+2 nil) (command "move" "l" "" "d" "0,0,500"))
    (if (/= top_last_verif-1 nil) (command "move" "l" "" "d" "0,0,-250"))
    (if (/= top_last_verif-2 nil) (command "move" "l" "" "d" "0,0,-500"))
    (command "_insert" pipe_dir_top pti "1" "1" "0")
    (if (/= top_verif+1 nil) (command "move" "l" "" "d" "0,0,250"))
    (if (/= top_verif+2 nil) (command "move" "l" "" "d" "0,0,500"))
    (if (/= top_verif-1 nil) (command "move" "l" "" "d" "0,0,-250"))
    (if (/= top_verif-2 nil) (command "move" "l" "" "d" "0,0,-500"))

    grazie!
    dario

  2. #2
    I could stop if I wanted to
    Join Date
    2005-09
    Location
    Canada
    Posts
    214
    Login to Give a bone
    0

    Default Re: LISP: move dopo di insert

    ciao Dario..

    Che cosa è che non functiona ?
    Il tuo block cambia l'élevazionne in Z.

Similar Threads

  1. LISP: problema come move despues de insert
    By dgomez.189897 in forum AutoCAD General
    Replies: 3
    Last Post: 2008-08-28, 04:52 PM
  2. move after insert problem
    By dgomez.189897 in forum AutoLISP
    Replies: 10
    Last Post: 2008-08-21, 06:24 PM
  3. Replies: 11
    Last Post: 2006-11-10, 10:03 PM
  4. Move 3D LISP
    By tollyboy22 in forum AutoLISP
    Replies: 6
    Last Post: 2006-04-13, 05:59 PM
  5. Move Lisp
    By lmitsou in forum AutoLISP
    Replies: 2
    Last Post: 2006-02-24, 02:56 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
  •