Code Red > AutoLISP (Vanilla / Visual)

Layout to Model

(1/2) > >>

pedroantonio:
Hi. I am using Lee Mac Viewport Outline lisp http://www.lee-mac.com/vpoutline.html, to insert viewport outline in model space. Is any way to inset all the layout in model space in correct scale and position and not only the outline of the viewport ?

Thanks

pedroantonio:
I have this lisp file but export everything in wrong position with wrong scale.I want to keep the viewport scale and the correct coordinate position, like  Viewport Outline


--- Code - Auto/Visual Lisp: ---(defun c:test ( / BASE LST OLD_DIA)  (setq old_dia (getvar 'FILEDIA)        base    (strcat (getvar 'DWGPREFIX) (vl-filename-base (getvar 'DWGNAME)))  )  (setvar 'FILEDIA 0)  (setq lst (layoutlist))  (foreach l lst    (command "_.ctab"             l             "exportlayout"             (strcat base "-" l)    )  )  (setvar 'FILEDIA old_dia)  (princ)) 
Any ideas?

Thanks

pedroantonio:
Is it posible to Convert Layout to Model Space by viewport scale , like Lee Mac Viewport Outline lisp http://www.lee-mac.com/vpoutline.html

thanks

seksone:
do you know the command _chspace?
maybe that is the trick.

pedroantonio:
Yes i know this command, but insert the layouts in the wrong coordinates with wrong scale

Navigation

[0] Message Index

[#] Next page

Go to full version