• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

incomprehensible error

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
in this code :
Code:
 (setq ele11 (car ele1) (- (cadr ele1) 250.0))
(command "_text" ele11 180.0 0.0 "m1")
(setq ele11 "_last")
(setq ps1 (getpoint "\nclick the circle of the possible handle 1 (set dx mouse for no)"))
(if ps1;
(progn)
(Setvar "osmode" 0)
... ....
... ....
);
(command "_erase" ele11 ")
);

(setq ele22 (car ele2) (- (cadr ele2) 250.0))
(command "_text" ele22 180.0 0.0 "m2")
(setq ele22 "_last")
(setq ps2 (getpoint "\nclick the circle of the possible handle 2 (set dx mouse for no)"))
(if ps2;
(progn)
(Setvar "osmode" 0)
... ....
... ....
);
(command "_erase" ele22 ")
);

(setq ele33 (car ele3) (- (cadr ele3) 250.0))
(command "_text" ele33 180.0 0.0 "m3")
(setq ele33 "_last")
(setq ps3 (getpoint "\nclick the circle of possible handle 3 (set dx mouse for no)"))
(if ps3
(progn)
(Setvar "osmode" 0)
... ....
... ....
);
(command "_erase" ele33 ")
);

(setq ele44 (list (car ele4) (- (cadr ele4) 250.0))
(command "_text" ele44 180.0 0.0 "m4")
(setq ele44 "_last")
(setq ps4 (getpoint "\nclick the position of the possible handle 4 (set dx mouse for no)"))
(if ps4;
(progn)
(Setvar "osmode" 0)
... ....
... ....
);
(command "_erase" ele44 ")
);
(Sectq ele33 "_last") < receive error message > type of wrong topic "_last" < whereas for
> (setq ele11 "_last" and (setq ele22 "_last" < is all right.
Why? ? ? ? ?
Thank you.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top