PDA

View Full Version : Different scales for lines in different viewports



slaidlaw
2004-06-16, 08:48 PM
I have a dwg that has multiple viewports. In some viewports the linetype needs to be at a 20 scale, in others I need the lines to be a 30 scale. I think this is possible because I seem to remember even doing it, but I can't figure it out now. Can anyone help me?

Suzy Laidlaw

jhohman
2004-06-16, 08:58 PM
I would simply select the lines that you want to be at a LTSCALE of 20 and set that scale in the properties box (CTRL-1), then do the same for the lines that you want the LTSCALE to be 30 on. Aside from that, you could create a linetype based on the different LTSCALEs (HIDDEN20 and HIDDEN30 for example. Hope this helps.

Glenn Pope
2004-06-16, 09:39 PM
Have you played around with the PSLTSCALE variable?

From Autocad help.

Type: Integer
Saved in: Drawing
Initial value: 1

Controls paper space linetype scaling.


0 No special linetype scaling. Linetype dash lengths are based on the drawing units of the space (model or paper) in which the objects were created. Scaled by the global LTSCALE factor.

1 Viewport scaling governs linetype scaling. If TILEMODE is set to 0, dash lengths are based on paper space drawing units, even for objects in model space. In this mode, viewports can have varying magnifications, yet display linetypes identically. For a specific linetype, the dash lengths of a line in a viewport are the same as the dash lengths of a line in paper space. You can still control the dash lengths with LTSCALE.


When you change PSLTSCALE or use a command such as ZOOM with PSLTSCALE set to 1, objects in viewports are not automatically regenerated with the new linetype scale. Use the REGEN or REGENALL commands to update the linetype scales in each viewport.

slaidlaw
2004-06-17, 01:32 PM
Thanks very much - I guess I will need to play around with this to see if I both understand it and can make it work.

Suzy

slaidlaw
2004-06-17, 01:33 PM
I would simply select the lines that you want to be at a LTSCALE of 20 and set that scale in the properties box (CTRL-1), then do the same for the lines that you want the LTSCALE to be 30 on. Aside from that, you could create a linetype based on the different LTSCALEs (HIDDEN20 and HIDDEN30 for example. Hope this helps.

I had thought about that but was hoping that I could get around duplicating lines. Thanks for the ideas.

Suzy

chuck_cantieny
2004-06-17, 02:25 PM
definetly use psltscale set to 1. Set your global ltscale so the line looks correct in the viewports (not model space). Celtscale should be 1 (unless you need to override for a specific line). Autocad will adjuct the displayed line in each viewport so that all lines of a linetype look the same in your layout. You will have to adjust to the lines having a very small scale in model space. It looks odd at first but you get used to it.

Chuck

chadwickt
2004-06-17, 08:42 PM
I just played with this last week, and it works great!

To build on what Chuck said a little bit:

When I did this, everytime I changed the scale of a viewport I had to REGENALL in order to get all the viewports looking the same (this appeared to be a screen issue, as all the linetypes would print fine for me whether I regenerated or not)

Chuck, does yours automatically regenerate when you change viewport scaling?

Mike.Perry
2004-06-18, 07:03 AM
(this appeared to be a screen issue, as all the linetypes would print fine for me whether I regenerated or not)
Hi

A RegenAll is automatically performed when a plot is successful ie The "OK" button is pressed.

Have a good one, Mike

chadwickt
2004-06-18, 05:29 PM
Thanks Mike...so it will automatically REGENALL when you actually click OK to print, but if you want to see it before then you must do a REGENALL...is this correct?

Mike.Perry
2004-06-18, 05:44 PM
Hi

Yes, that's about the sum of it.

Have a good one, Mike

jason.wulff
2004-06-21, 01:49 PM
I had trouble with this for a while. My trouble basically turned out to be different people using different defintions for linetypes. Some people were using ISO and others English linetypes. But you couldn't tell the difference because they both had the same name, shame on AutoCAD. We do both English and Metric drawings in my office so I renamed the linetype to have an e- or m- in front. On top of that I made sure everyone was using psltscale =1 setting for the drawings. After that it didn't matter what file it is referenced from, all lines had the same scale.

Mike.Perry
2004-06-21, 02:19 PM
Hi

Take a look at the system variables MEASUREMENT & MEASUREINIT, these will greatly help with Imperial (English) and Metric drawings.

Have a good one, Mike

jason.wulff
2004-06-21, 02:32 PM
I've looked into this. If that isn't the most goofed up variable. So since my drawing units are in English but my Measurement variable is in metric then I get metric hatches. Who thought of this? As often as we switch back and forth between English and Metric drawings, this could be a big problem. Anyway thanks for pointing this out but doesn't necessarily solve the hatch problem. But does defeat the reason I had for creating custom hatches.

Mike.Perry
2004-06-21, 02:47 PM
Anyway thanks for pointing this out but doesn't necessarily solve the hatch problem.
Hi

I think it does as my thinking/logic is that MEASUREMENT for *new* drawings is set to 0 (due to the fact that AutoCAD is offering/picking Acad.pat) ie Your Custom Hatch patterns are available.

&

For *existing/old* drawings that are causing problems, MEASUREMENT is set to 1(AutoCAD is not offering/picking Acad.pat) ie AutoCAD is reading the AcadIso.pat file therefore the Custom Hatch patterns that you added are unavailable.

Have a good one, Mike

jason.wulff
2004-06-21, 03:46 PM
Measurement is English or Metric setting also, but is saved with the drawing. The measureint apparently sets the the measurement variable upon starting a new drawing. Changing the measurement variable didn't affect which patterns were available but did change the scale affect of the scale factor.

If I change the Measureinit setting to 0 then exit, an reopen ACAD then the measurement variable is set to 0 on the new drawing. And vice versa. But same hatch patterns appear for both.

jason.wulff
2004-06-21, 04:05 PM
See customized hatches for the solution to this problem.

jason.wulff
2004-06-21, 04:10 PM
ie AutoCAD is reading the AcadIso.pat file therefore the Custom Hatch patterns that you added are unavailable.



duh, slaps myself in the head, didn't finish reading your post. Your right.

dekmf43
2005-04-28, 05:05 PM
We are having a similar problem...but it doesn't seem as if the original responses will work. We are using multiple viewports in paper space with different drawing scales. Changing lines to different LTSCALES individually is not an option because the same lines are shown in each viewport. We typically set the global LTSCALE to half the drawing scale (working in a Civil Drafting environment with LDDT), and PSLTSCALE to 1. I will try setting the LTSCALE to 1 and the PSLTSCALE to 1 and see if that works. In the meantime, any other suggestions would be appreciated! (Yes, Mike I have checked the other threads, to no avail.)