TheSwamp

CAD Forums => CAD General => Topic started by: 42 on September 30, 2005, 04:40:40 AM

Title: Re scaling viewports
Post by: 42 on September 30, 2005, 04:40:40 AM
Ok the set up is
locked and or unlocked viewport, item within viewport that needs to be dimensioned, when I try to dimension the object ( dimensions in paperspace) the viewport rescales when I scroll the mouse wheel. Never seen this before and its driving me to distraction. Any clues answers. Perhaps this should be in the Vent.
Title: Re: Re scaling viewports
Post by: hyposmurf on September 30, 2005, 07:57:06 AM
First thought is that your in floating model space.Does the tab change to MODEL and your viewport become bold to?Are you usiing a macro or lisp that is creating this causing this unwanted scenario?
Title: Re: Re scaling viewports
Post by: hyposmurf on September 30, 2005, 08:02:33 AM
Just found this for you on Autodesk:

Viewport scale changes even though Display Locked property is set to Yes

Published date: 2002-03-22
ID: TS71331

Applies to:
AutoCAD® 2002
AutoCAD LT® 2002


Issue


When you try to modify the height of a viewport through the Properties window, the scale of the viewport changes, even though the Display Locked property for the viewport is set to Yes.


Solution


This problem occurs when using Aerial View, or when the SHADEMODE option for the viewport is set to an option other than 2D wireframe.

As a work-around, you can place the viewports on their own layer. You can then lock that layer to prevent the viewports from updating.


See also
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 08:19:53 AM
Nope. Thats not it. :x :x
Title: Re: Re scaling viewports
Post by: Andrea on September 30, 2005, 08:59:12 AM
the viewport rescales when I scroll the mouse wheel.

ok..I have seen this before....
try to play with your LUPREC variable..
Title: Re: Re scaling viewports
Post by: MP on September 30, 2005, 09:03:20 AM
... play with your LUPREC variable.

In the privacy of your own cubicle please.
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 09:35:04 AM
the viewport rescales when I scroll the mouse wheel.

ok..I have seen this before....
try to play with your LUPREC variable..

From ACAD help
Type: Integer
Saved in: Drawing
Initial value: 4

Sets the number of decimal places displayed for all read-only linear units, and for all editable linear units whose precision is less than or equal to the current LUPREC value. For editable linear units whose precision is greater than the current LUPREC value, the true precision is displayed. LUPREC does not affect the display precision of dimension text  :? :?
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 10:14:34 AM
Can you post the dwg?  I dimension in PS all the time and never had that happen
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 10:55:32 AM
When I strip out enough information to make it postable (can I post a 2.8M dwg?) the problem goes away.
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 10:56:55 AM
email?  I can recieve large attachments
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 10:59:33 AM
Ok pm me your email and I will sent it.
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 11:05:59 AM
sent PM
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 11:09:05 AM
Got it Sent it
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 11:29:21 AM
Thanks CmdrDuh. I had another look at the dwg, the problem only happens after I have selected the dim command and the curser is over an object, and end snap is on. If I scrol, the drawing changes scale, if however, I scrol whilst the curser is NOT over an object the drawing does not rescale.
Title: Re: Re scaling viewports
Post by: Andrea on September 30, 2005, 12:18:31 PM
LUPREC does not affect the display precision of dimension text  :? :?



Maybe...but will affect some other display...like :  MVSCALE TEXTSIZE DIMSCALE...and so on.
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 12:22:39 PM
Andrea That was a direct quote from Acad help.  Would I start increasing the variable number or what. What else could it screw up if this altered from the current value of 3?
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 12:29:00 PM
it wont "screw" anything up, it just might not "show" you what you think it should.

for instance, lets say you set your precision to 1/16, and then put in 3/32" text.  If you did a list on that text, It would tell you it was 1/8" tall, when in reality it is still only 3/32 " tall.  This is because 3/32 is being rounded up to 1/8 b/c of precision chosen.  I always set precision to 1/256 so that List will report things correctly.  If your using decimal, then its just the number of decimal places that is being reported.

With decimal set, and luprec at 1, if you draw a line 1.25" long, and list it, it will say its 1.3" b/c of round off.

Does this make sense?
Title: Re: Re scaling viewports
Post by: 42 on September 30, 2005, 12:35:19 PM
Yes So why can't it say units???
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 12:37:29 PM
because it is Linear Units PRECision

you also have Angular Units PRECision
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 12:38:50 PM
your UNITS dialog box controls both of these system variables

Lunits and Aunits control Arch vs Decimal and such
Title: Re: Re scaling viewports
Post by: Keith™ on September 30, 2005, 12:41:14 PM
The issue is not the dimension if I am reading this right... but rather the viewport rescaling when using the scroll button on the mouse WHILE dimensioning.

UCSFOLLOW ? When associative dimensioning in PS it references the MS object through the PS viewport .. perhaps that is somehow affecting it?
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 12:44:05 PM
Keith, I tried diming in the dwg, and it didn't have any problems with the wheel.  I changed the Osnap setting to remove the 'INS' osnap (I don't remember setting that one) and it behaved a little better. 
Title: Re: Re scaling viewports
Post by: Andrea on September 30, 2005, 12:46:00 PM
42,...

I had same problem here..
and be resolved by setting the LUPREC to 8.

also, make sure that your dimstyle is not override.
Title: Re: Re scaling viewports
Post by: David Hall on September 30, 2005, 12:47:18 PM
42,...

I had same problem here..
Which problem did you have?
Title: Re: Re scaling viewports
Post by: Keith™ on September 30, 2005, 01:18:03 PM
Ok .. someone refresh me (and this thread) about what it is EXACTLY that we are trying to accomplish ...

the FIRST post by 42 was  ... " viewport rescales when I scroll the mouse wheel" ... now there is nothing with any setting for a dimension that will affect the PS viewport that I can imagine ... but yet there seems to be alot of interest put on the dimensions ...

So, now that I have successfully pissed off everyone ... what are the symptoms ..

Viewport rescales when using the scroll wheel during a dimension

Anything else? .. No? Ok good .. lets ask a few questions to determine where the problem might be ...

Is the viewport locked?
Is the user indeed in PS (as opposed to accessing the model through a PS viewport)
When the viewport does rescale, do the dimensions appear with a correct value?
What is the value of variables that affect the PS viewport:
I am sure there are more but these are the ones that come to mind right away.

Is the entire viewport visible when dimensioning?
What is the shademode for EACH viewport in PS
Does this happen in other drawings? (can it be reproduced)
Is the toolbar viewport scale combo list highlighted when scrolling (or when dimensioning)

I will have more questions when these have been answered ....

If I had to make any determination I would say it is likely user error as opposed to a bug .. but then that is just me ...
Short story ... recently I was tasked with resolving a support issue with a piece of software. It seems the command did not work. I asked several questions and the response was always the correct ones. The variables are set correctly, the program is loaded properly etc ... when I finally convinced the user to send me a drawing I could see EXACTLY what the issue was. They were trying to use the program on a drawing that it was not designed to work with. What it amounted to was a user trying to make a line a wider thickness without it being a polyline ... DUH ... lines don't have a width factor ... (that of course was not the issue, but pretty close)
Anyway ... the point is ... you have to do testing in various scenarios. If it cannot be reproduced then it is either a) an anomoly with that particular drawing  b) user error c) as yet un-reproducable bug (you must be able to reproduce it to find it)
Title: Re: Re scaling viewports
Post by: 42 on October 01, 2005, 07:12:36 AM
Keith You wont' piss me off on this thread.
Quote
Viewport rescales when using the scroll wheel during a dimension

Yes But only when the curser is over an object and the onsnaps are on.
Quote
Is the viewport locked?
Yes and the viewport layer is locked
Quote
When the viewport does rescale, do the dimensions appear with a correct value?
Don't know. When I realised that the viewport was rescaling I cancled the dim command. I will try this one again on Monday.
Quote
What is the value of variables that affect the PS viewport:

    * UCSFOLLOW
    * MAXACTVP
    * PSVPSCALE

Offhand don't know, don,t know, 1:50

Quote
Is the entire viewport visible when dimensioning?
What is the shademode for EACH viewport in PS
Does this happen in other drawings? (can it be reproduced)
Is the toolbar viewport scale combo list highlighted when scrolling (or when dimensioning)

No
Wireframe
No
Haven't noticed, again I will test on Monday
Quote
If I had to make any determination I would say it is likely user error as opposed to a bug
Impossible!

Andrea
Quote
I had same problem here..
and be resolved by setting the LUPREC to 8.
I will try resetting on Monday
Thanks for your input.
Title: Re: Re scaling viewports
Post by: Andrea on October 01, 2005, 10:08:36 PM
Is the problem is only in 1 (one) drawing  or every time ?

also, you can try to remake the MVIEW...
you can use vpclip...or vpsinc..

let me know..

Title: Re: Re scaling viewports
Post by: 42 on October 03, 2005, 03:23:45 PM
Its only ever occur ed in this one drawing. Remaking the viewport made no difference. I did not get chance (forgot) to check the other settings. I 'm getting round the problem by turning the onsnaps off and sellecting the snap from the icons. Long winded but works.
Title: Re: Re scaling viewports
Post by: jonesy on November 04, 2005, 06:15:25 AM
Mr 42 sir, did you sort out your zoom problem?

One of the users here is also having a problem with locked viewports moving, when scrolling in/out.

He has a locked viewport, scrolls in to edit something, and the viewport seems to unlock itself and re-scale the viewport, this happens intermittently, and is now looking for a common process that kicks this thing off.  The only way to get back to the original viewport layout is to undo, then he loses the edit he has just made.

Does anyone know what may cause this, and any work around.

This is happening on ACAD 2004 (vanilla)

Many thanks
Title: Re: Re scaling viewports
Post by: 42 on November 04, 2005, 07:12:10 AM
The only work around I have found as noted above is to turn osnaps off, F3, when scrolling. Sorry can be of no further help.

I must say that I do like the sir bit !!
Title: Re: Re scaling viewports
Post by: deegeecees on November 04, 2005, 05:17:48 PM
Try this:

Go into modelspace, dim what you want, then go back to pspace and use the ACET "Change Space" on the new dimensions. You will probably get a Dim Linear Scale Factor, so just set it back to 1:1 on those dimensions.

Just a quick fix for you.