Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
3144 Vistas, 15 Respuestas

Viewport scale is not maintained when copied to new layout.

Hi all,

I want to copy a view-port from one layout to another layout (new). In the new layout, the view-port should look like exactly the same but in this case the view-port scale is not maintained and it is getting changed automatically. I've tried to fix this using layer states manager but it not worked. Any other solutions?

Thank you!

pendean
en respuesta a: Anonymous

Lock your viewport(s) as a habit after you set their 'scale' in all of your files.

After doing so, now try your viewport copy again.

 

Also check your UCSFOLLOW variable setting: usage explained in HELP, if it is on, the program will do what that variable tells it to do.

 

 

 

ed57gmc
en respuesta a: Anonymous

Hi @Anonymous, Lock the viewport display before you copy it.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Anonymous
en respuesta a: pendean

My viewport is locked and ucsfollow value is "0".


@pendean wrote:

Lock your viewport(s) as a habit after you set their 'scale' in all of your files.

After doing so, now try your viewport copy again.

 

Also check your UCSFOLLOW variable setting: usage explained in HELP, if it is on, the program will do what that variable tells it to do.

 

 

 


 

Anonymous
en respuesta a: ed57gmc

Viewport is locked only.

pendean
en respuesta a: Anonymous

Post a copy of your source and destination files and explain how we can replicate your issue please.

TIA

ChicagoLooper
en respuesta a: Anonymous

Copy your Layout Tab. Try this:

1-Right click on the target Layout Tab then select 'Move or Copy.'1-Right click on the target Layout Tab then select 'Move or Copy.'2-Highlight (move to end), check Create copy, then OK.2-Highlight (move to end), check Create copy, then OK.

You'll get a duplicate Layout Tab with everything, including the exact same viewport set to the exact same scale. In fact you'll get everything else too, titleblock, scale bar, north arrow, mtext, etc.  besides the duplicate VP. Now you'll just have to edit, delete or replace the items on the new tab to suit your needs.  The original layout tab remains at status quo.

Chicagolooper

EESignature

Anonymous
en respuesta a: ChicagoLooper

Hi,
The very first thing I did to copy my viewport to new layout was this only.
It did not work either. Usually it does, but I dont know what’s wrong with
this file.
ChicagoLooper
en respuesta a: Anonymous

Do NOT copy the viewport. Copy the Layout Tab instead.

Chicagolooper

EESignature

Anonymous
en respuesta a: pendean

I've attached the file. Please try and sort out the issue. Appreciate it.


@pendean wrote:
Post a copy of your source and destination files and explain how we can replicate your issue please.

TIA


 

Anonymous
en respuesta a: ChicagoLooper


@ChicagoLooper wrote:

Do NOT copy the viewport. Copy the Layout Tab instead.


I've attached the file. Please try and sort out the issue. Appreciate it.

pendean
en respuesta a: Anonymous

Your locked viewport never changes it's assigned 1/8" scale when I copied it into four separate layouts in your own file, see attached.

 

 

 

Anonymous
en respuesta a: pendean

Original layoutOriginal layout


@pendean wrote:

Your locked viewport never changes it's assigned 1/8" scale when I copied it into four separate layouts in your own file, see attached.

 

 Appreciate your quick reply. If you take a look at attached photos, you can see how the original layout is looking but when copied, see how small it is. Also, layers are not maintained in the new layout. Layers which are turned off in the original layout are getting turned on automatically in the new one. Please address this.

Thank you.

 


 

Anonymous
en respuesta a: Anonymous

See these two pictures.

pendean
en respuesta a: Anonymous

Are you simply distracted by the unchanged paper size in the new layouts I created? I don't understand your posted images otherwise, sorry. You need to go into PAGESETUP and set the page size and plotter yourself.

I simply copied your viewport from the layout 34x22 to the 4 layouts I created: I did not spend any time creating page sizes or assigning a plotter. Your viewports never change scales, they remain at 1/8". The topic of your post.

Yes, you lose all the layer settings in the viewport: that's why the other person replying suggested you copy the entire layout and not just the viewport. Otherwise you need to create a custom layerstate for your viewport's content and reset it after each copy.

You did not include XREFs so what I see in modelspace is the only thing I see in your layout and all he new layouts.

Hope that helps.


ChicagoLooper
en respuesta a: Anonymous

You have not disclosed the history of your drawing. Is it yours? Did you start it from scratch or did you inherit the drawing from someone else?

 

This drawing has beginnings in a metric template--not an imperial one. Go to modelspace and turn on and thaw all layers. Then SELECTALL and COPY WITH BASE POINT, using 0,0 as the base point. Open a brand new, fresh imperial template and paste using 0,0 as the insertion point. Then set up your layout tabs. If you follow cut-and-paste and use an imperial template, you'll be fine.

 

<<Hint: when selecting a sheet size, be cognizant how Acad describes the sheet dimensions--it is width x height, not the other way around--so choose your sheet size according, i.e. W34"xH22" is ANSI-D  is landscape orientation, whereas W22"xH34" is ANSI-D in portrait. This is because the width is always first and height is always second.>>

 

Even though you have selected ANSI-D 22"x34" as the sheet size in plot dialog window and even though you have assigned architectural imperial scale to your viewport, and even though you go to confession on Thursdays and to church on Sundays, doesn't necessarily mean your layout tab will always plot correctly.

 

Note 1: Unlike modelspace where drawing units can take on various units (mm, cm, meters, in, ft, etc. or unitless) paperspace is not so forgiving. In paperspace (or on layout tab) the units are inches for imperial templates OR are millimeters for metric templates. There are no exceptions.

 

Note 2: You can 'trick' AutoCAD into plotting a 34mmx24mm onto a sheet sized 34"x22" when you are using a metric template and doing it this way would require you to use a metric scale bar, not imperial inches because you are physically drawing in millimeters or meters, not feet and inches. (I won't cover the trick in this post.)

Chicagolooper

EESignature