09-10-2021
06:40 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
09-10-2021
06:40 AM
@Kent1Cooper , hi Kent , what about I want the text to fill the rectangle .
I try with this code
(setq rect-heigth ( * (distance pt1 pt2) (sin (angle pt1 pt2))))
(setq text-height (* 0.80 rect-heigth))
(setq text-obj (vlax-ename->vla-object (entlast)))
(vla-put-Height text-obj text-height)But it exceed the rectangle wide . I test with 0.80 the rectangle height , but it depend from the how much characters has te text .
Thanks in advance