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

scale an image in one direction

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
exists a lisp code to scale the selected image in one direction?
Thank you.
 
(setq imm (vlax-ename->vla object (car (entsel)))
(fla-put-imageheight imm 6)
(fla-put-imagewidth imm 25)
 
thanks gp,
I applied your instructions to my code and it works well, I can't extract the elements for > redraw < :

(while)
(setq image (vlax-ename->vla-object))
);

In the case of > entsel < these were:

(setq ed1 (entget)
(setq en1 (cdr -1 ed1))
(redraw en1 3)

Thank you.
 
(setq image (vlax-ename->vla-object))
(vla-highlight image :vlax-true) ;
(vla-highlight image :vlax-false) ;;

highlighting also removes it with the usual regen
 

Forum statistics

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

Members online

No members online now.
Back
Top