Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Layout to Model
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Layout to Model (Read 2328 times)
0 Members and 1 Guest are viewing this topic.
pedroantonio
Guest
Layout to Model
«
on:
July 21, 2019, 10:25:55 AM »
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
Logged
pedroantonio
Guest
Re: Layout to Model
«
Reply #1 on:
July 21, 2019, 11:04:50 AM »
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:
[Select]
(
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
Logged
pedroantonio
Guest
Re: Layout to Model
«
Reply #2 on:
July 22, 2019, 03:47:05 AM »
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
Logged
seksone
Mosquito
Posts: 1
Re: Layout to Model
«
Reply #3 on:
July 22, 2019, 07:52:21 AM »
do you know the command _chspace?
maybe that is the trick.
Logged
pedroantonio
Guest
Re: Layout to Model
«
Reply #4 on:
July 22, 2019, 05:14:50 PM »
Yes i know this command, but insert the layouts in the wrong coordinates with wrong scale
Logged
pedroantonio
Guest
Re: Layout to Model
«
Reply #5 on:
July 24, 2019, 06:27:59 AM »
seksone you are right _chspace command works fine
Thanks
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Layout to Model