export one layout to a DWG
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
export one layout to a DWG

 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
G. Janssen
Guest





Posted: Fri Sep 23, 2005 4:10 pm    Post subject: export one layout to a DWG Reply with quote

Can you export one layout to a DWG ?

Thnx!
Gerrit J.

Back to top
Sil
Guest





Posted: Fri Sep 23, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

G. Janssen a écrit :
Quote:
Can you export one layout to a DWG ?

Thnx!
Gerrit J.


Wbloc ?


@+
Sil
Back to top
G. Janssen
Guest





Posted: Fri Sep 23, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

That does not work with wblock

I would like to export de frame (lauout) and the drawing (model)

regards,
Gerrit

"Sil" <Moimoi@club.fr> schreef in bericht
news:4333fa3b$0$305$7a628cd7@news.club-internet.fr...
Quote:
G. Janssen a écrit :
Can you export one layout to a DWG ?

Thnx!
Gerrit J.


Wbloc ?

@+
Sil


Back to top
Sil
Guest





Posted: Fri Sep 23, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

G. Janssen a écrit :
Quote:
That does not work with wblock

And if you just select the good layer before and make a wblock of all
the objets ?

Sil
Back to top
Brian Spillane
Guest





Posted: Fri Sep 23, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

save as new dwg, modify as req.
"G. Janssen" <gjanssen@vandamgroep.com> wrote in message
news:1127479227.663337@ram.introweb.nl...
Quote:
Can you export one layout to a DWG ?

Thnx!
Gerrit J.

Back to top
Paul Turvill
Guest





Posted: Fri Sep 23, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

Simple answer: No.

Your best bet is to delete everything you don't need, then SAVEAS. Or, to be
a bit more safe about preserving the original drawing, SAVEAS a new drawing,
then open the *new* drawing and delete what you don't need.
___

"G. Janssen" <gjanssen@vandamgroep.com> wrote in message
news:1127479227.663337@ram.introweb.nl...
> Can you export one layout to a DWG ?
Back to top
Paul Turvill
Guest





Posted: Fri Sep 23, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

No. WBLOCK exports only the current space. Why don't you try it before
giving answers that don't work?
___

"Sil" <Moimoi@club.fr> wrote in message
news:43340474$0$305$7a628cd7@news.club-internet.fr...
Quote:

And if you just select the good layer before and make a wblock of all the
objets ?
Back to top
G. Janssen
Guest





Posted: Mon Sep 26, 2005 12:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

O.k. Thanx

Gerrit
Back to top
Sil
Guest





Posted: Mon Sep 26, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

Paul Turvill a écrit :
Quote:
Why don't you try it before giving answers that don't work?

I'm french and I think I've make a mistake with the word "Layout".
WBlock works whith a "Layer".
I'm sorry.

What's a "Layout", a picture ?

Sil
Back to top
Paul Turvill
Guest





Posted: Mon Sep 26, 2005 4:10 pm    Post subject: Re: export one layout to a DWG Reply with quote

Layout = any of the available paper space tabs. What are these called in the
French version of AutoCAD? In the English version, their names default to
Layout1, Layout2, etc., as they are created, but the names may be changed by
the user.
___

"Sil" <Moimoi@club.fr> wrote in message
news:4337f014$0$305$7a628cd7@news.club-internet.fr...
Quote:

What's a "Layout", a picture ?
Back to top
Martin Shoemaker
Guest





Posted: Tue Sep 27, 2005 12:10 am    Post subject: Re: export one layout to a DWG Reply with quote

I use this routine. I've lost the notes on who the original author
was. It created a separate file for each layout.

(defun c:ltd (/ fn path msg msg2 fileprefix)

(defun delalllayouts (keeper / lay2)
(foreach lay2 (layoutlist)
(progn
(if (/= lay2 keeper)
(command "_.layout" "d" lay2)
)
)
)
)

(setvar "CMDECHO" 0)
(setq msg "")
(setq msg2 "")
(command "._undo" "_BE")
(setq fileprefix (getstring "Enter filename prefix: "))
(foreach lay (layoutlist)
(if (/= lay "Model")
(progn
(command "_.undo" "_M")
(DelAllLayouts lay)
(setvar "tilemode" 1)
(command "ucs" "w")
(setvar "tilemode" 0)
(setq path (getvar "DWGPREFIX"))
(setq fn (strcat path fileprefix lay ".dwg"))
(if (findfile fn)
(progn
(command ".-wblock" fn "_Y")
(if (equal 1 (logand 1 (getvar "cmdactive")))
(progn
(setq msg (strcat msg "\n" fn))
(command "*")
)
(setq msg2 (strcat msg2 "\n" fn))
)
)
(progn
(command ".-wblock" fn "*")
(setq msg (strcat msg "\n" fn))
)
)
(command "_.undo" "_B")
)
)
)
(if (/= msg "")
(progn
(prompt "\nThe following drawings were created:")
(prompt msg)
)
)
(if (/= msg2 "")
(progn
(prompt "\nThe following drawings were NOT created:")
(prompt msg2)
)
)
(command "._undo" "_E")
(textscr)
(princ)
)

G. Janssen wrote:
Quote:
Can you export one layout to a DWG ?

Thnx!
Gerrit J.


Back to top
G. Janssen
Guest





Posted: Tue Sep 27, 2005 8:10 am    Post subject: Re: export one layout to a DWG Reply with quote

Thanx Martin,

I will test it!

regards,
Gerrit Janssen
The Netherlands
Back to top
Sil
Guest





Posted: Tue Sep 27, 2005 8:10 am    Post subject: Re: export one layout to a DWG Reply with quote

Paul Turvill a écrit :
Quote:
Layout = any of the available paper space tabs. What are these called in the
French version of AutoCAD? In the English version, their names default to
Layout1, Layout2, etc., as they are created, but the names may be changed by
the user.
A "Présentation" in french

Thanks you.
Sil
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB