TheSwamp

CAD Forums => CAD General => Topic started by: Matt__W on November 18, 2011, 03:33:40 PM

Title: What's the sysvar that...
Post by: Matt__W on November 18, 2011, 03:33:40 PM
...controls whether or not a viewport will zoom extents when you double-click inside to activate it?  I can't remember...   :|
Title: Re: What's the sysvar that...
Post by: Matt__W on November 18, 2011, 03:44:51 PM
UCSFOLLOW

(not sure how it was changed though)
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 21, 2011, 08:32:50 AM
no that isn't it's real function or purpose....

The UCSFOLLOW setting is saved separately for each viewport. If UCSFOLLOW is on for a particular viewport, a plan view is generated in that viewport whenever you change coordinate systems.

Once the new UCS has been established, you can use DVIEW, PLAN, VIEW, or VPOINT to change the view of the drawing. It will change to a plan view again the next time you change coordinate systems.

0
 UCS does not affect the view
 
1
 Any UCS change causes a change to the plan view of the new UCS in the current viewport
 

The setting of UCSFOLLOW is maintained separately for paper space and model space and can be accessed in either, but the setting is ignored while in paper space (it is always treated as if set to 0). Although you can define a non-world UCS in paper space, the view remains in plan view to the world coordinate system.


So it must be something else.... ;-)

Title: Re: What's the sysvar that...
Post by: Matt__W on November 21, 2011, 09:02:36 AM
So it must be something else....
No, that WAS it.
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 21, 2011, 10:13:32 AM
I'm pretty sure it wasn't.

I just tested this is C3D 2012.

New view port.
UCSFOLLOW  0
activate viewport
no change
UCSFOLLOW 1
new viewport
activate
no change


That isn't the function of that variable.

Cn others please verify these results?
Title: Re: What's the sysvar that...
Post by: alanjt on November 21, 2011, 10:44:53 AM
Can others please verify these results?
Created viewport; activated; set ucsfollow to 1; deactivated viewport; reactivated viewport and it did a zoom extents.
Civil 3D 2011

I'm siding with Matt.
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 21, 2011, 11:12:59 AM
Can others please verify these results?
Created viewport; activated; set ucsfollow to 1; deactivated viewport; reactivated viewport and it did a zoom extents.
Civil 3D 2011

I'm siding with Matt.

You might be siding with Matt, however a strict reading of the help file about the purpose and function of that sysvar has nothing to do with zooming a(n) activated viewport.

Could  it be that the function is a bad side effect in the version(s) you both are using and they fixed it in 2012?
I just ran the same test in completely new drawings I do not get that reaction from changing UCSFOLLOW to on or off, or off and then on.
Title: Re: What's the sysvar that...
Post by: M-dub on November 21, 2011, 11:16:23 AM
If it did what he wanted it to do, the sysvar could have been DOWHATIWANT = 1.  Maybe it's one of those weird AutoCAD things that did something it wasn't designed or intended to do.
Title: Re: What's the sysvar that...
Post by: alanjt on November 21, 2011, 11:17:07 AM
Maybe it's one of those weird AutoCAD things that did something it wasn't designed or intended to do.
Psha, that never happens. :lol:
Title: Re: What's the sysvar that...
Post by: alanjt on November 21, 2011, 11:19:39 AM
It actually does the same in 2012.
Title: Re: What's the sysvar that...
Post by: M-dub on November 21, 2011, 11:20:12 AM
Maybe it's one of those weird AutoCAD things that did something it wasn't designed or intended to do.
Psha, that never happens. :lol:

One of my faves is when the publish command sets SAVETIME to 0 and doesn't turn it back on when it's done.  Awesome!
Title: Re: What's the sysvar that...
Post by: Matt__W on November 21, 2011, 11:20:56 AM
no that isn't it's real function or purpose....

The UCSFOLLOW setting is saved separately for each viewport. If UCSFOLLOW is on for a particular viewport, a plan view is generated in that viewport whenever you change coordinate systems.

Once the new UCS has been established, you can use DVIEW, PLAN, VIEW, or VPOINT to change the view of the drawing. It will change to a plan view again the next time you change coordinate systems.

0
 UCS does not affect the view
 
1
 Any UCS change causes a change to the plan view of the new UCS in the current viewport
 

The setting of UCSFOLLOW is maintained separately for paper space and model space and can be accessed in either, but the setting is ignored while in paper space (it is always treated as if set to 0). Although you can define a non-world UCS in paper space, the view remains in plan view to the world coordinate system.

So it must be something else.... ;-)
NO.... it isn't!!
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 21, 2011, 11:21:45 AM
It actually does the same in 2012.
I'm using 2012 and it does NOT zoom extents any viewports I make....so it MUST be some other setting is also involved
Title: Re: What's the sysvar that...
Post by: alanjt on November 21, 2011, 11:22:25 AM
Maybe it's one of those weird AutoCAD things that did something it wasn't designed or intended to do.
Psha, that never happens. :lol:

One of my faves is when the publish command sets SAVETIME to 0 and doesn't turn it back on when it's done.  Awesome!
That's what you call a hidden feature. :roll:
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 21, 2011, 11:23:30 AM
no that isn't it's real function or purpose....

The UCSFOLLOW setting is saved separately for each viewport. If UCSFOLLOW is on for a particular viewport, a plan view is generated in that viewport whenever you change coordinate systems.

Once the new UCS has been established, you can use DVIEW, PLAN, VIEW, or VPOINT to change the view of the drawing. It will change to a plan view again the next time you change coordinate systems.

0
 UCS does not affect the view
 
1
 Any UCS change causes a change to the plan view of the new UCS in the current viewport
 

The setting of UCSFOLLOW is maintained separately for paper space and model space and can be accessed in either, but the setting is ignored while in paper space (it is always treated as if set to 0). Although you can define a non-world UCS in paper space, the view remains in plan view to the world coordinate system.

So it must be something else.... ;-)
NO.... it isn't!!
Matt,

Nothing you bolded says, Autocad will perform a ZOOM extents.
What it does say is that it creates a plan view.
That does not READ, performs a ZOOM Extents in any language I understand.
Title: Re: What's the sysvar that...
Post by: BlackBox on November 21, 2011, 11:29:00 AM
Can others please verify these results?
Created viewport; activated; set ucsfollow to 1; deactivated viewport; reactivated viewport and it did a zoom extents.
Civil 3D 2011

Could  it be that the function is a bad side effect in the version(s) you both are using and they fixed it in 2012?

No... Confirmed (again) using Civil 3D 2011 / 2012

... a strict reading of the help file about the purpose and function of that sysvar has nothing to do with zooming a(n) activated viewport.

Your statement assumes that Autodesk has prepared, and provided complete documentation... You won't find QAFLAGS System Variable in SYSVDLG, but it (the sysvar) exists. Just saying.
Title: Re: What's the sysvar that...
Post by: alanjt on November 21, 2011, 11:30:00 AM
(http://www.theswamp.org/lilly_pond/alanjt/popcorn.gif)
Title: Re: What's the sysvar that...
Post by: Jeff H on November 21, 2011, 11:32:34 AM
It did not Zoom extents for me in 2012.
TEAM HIGGS!!
Title: Re: What's the sysvar that...
Post by: Matt__W on November 21, 2011, 11:38:26 AM
no that isn't it's real function or purpose....

The UCSFOLLOW setting is saved separately for each viewport. If UCSFOLLOW is on for a particular viewport, a plan view is generated in that viewport whenever you change coordinate systems.

Once the new UCS has been established, you can use DVIEW, PLAN, VIEW, or VPOINT to change the view of the drawing. It will change to a plan view again the next time you change coordinate systems.

0
 UCS does not affect the view
 
1
 Any UCS change causes a change to the plan view of the new UCS in the current viewport
 

The setting of UCSFOLLOW is maintained separately for paper space and model space and can be accessed in either, but the setting is ignored while in paper space (it is always treated as if set to 0). Although you can define a non-world UCS in paper space, the view remains in plan view to the world coordinate system.

So it must be something else.... ;-)
NO.... it isn't!!
Matt,

Nothing you bolded says, Autocad will perform a ZOOM extents.
What it does say is that it creates a plan view.
That does not READ, performs a ZOOM Extents in any language I understand.
And what happens when you create a plan view??

Regenerates a plan view of the display so that the drawing extents fit in the current viewport of the current UCS.
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 21, 2011, 11:43:30 AM
No that would be what happens when one types

PLAN
and then selects

World


A completely different operation.

there are other version at the office I will run tests on in the AM and report back.

As it appears to be a non issue in C3D 2012.
Title: Re: What's the sysvar that...
Post by: Dinosaur on November 21, 2011, 11:44:12 AM
We used UCSFOLLOW in the r12 &r13 EaglePoint days when rolling our own plan & profile sheets.  The views it created would zoom to extents and we needed to have a rectangle created with axis along the desired UCS sized to match the extents of the scaled plan view.  We used that window to zoom the view into scale.
Title: Re: What's the sysvar that...
Post by: Matt__W on November 21, 2011, 11:44:19 AM
It's fixed.  I don't even know why I'm spending so much energy on this.
Title: Re: What's the sysvar that...
Post by: alanjt on November 21, 2011, 11:46:39 AM
It's fixed.  I don't even know why I'm spending so much energy on this.

(http://imgs.xkcd.com/comics/duty_calls.png)
Title: Re: What's the sysvar that...
Post by: BlackBox on November 21, 2011, 11:59:45 AM
It's fixed.  I don't even know why I'm spending so much energy on this.

... Pot stirrer.  :-P
Title: Re: What's the sysvar that...
Post by: jvillarreal on November 21, 2011, 03:30:11 PM
Higgs,

When you test in the morning, make sure the viewport your testing it on is active (and unlocked) when you set ucsfollow to 1.
After reactivating it, the zoom extents should happen.

The setting of UCSFOLLOW is maintained separately for paper space and model space and can be accessed in either, but the setting is ignored while in paper space (it is always treated as if set to 0).
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 22, 2011, 01:19:14 AM
After reading the above post, it is an order of operation issue.
I was setting the value, then activating the viewport.

Same applies to my working methods, I do not ever set a UCS through a viewport.
I create them in Model space and save them with the view, that I later set current through the viewport.
So I haven't ever had the issue that is created by doing through a floating viewport.

So I guess, if one uses cad in a particular fashion, yes the UCSFOLLOWS variable will cause your viewports to zoom.

My suggestion; STOP doing it that way.   ;-)
Title: Re: What's the sysvar that...
Post by: BlackBox on November 22, 2011, 06:33:27 AM
My suggestion; STOP doing it that way.   ;-)

Higgsy says:

(http://www.slapyo.com/wp-content/wrong18.jpg)

 :-D
Title: Re: What's the sysvar that...
Post by: Matt__W on November 22, 2011, 08:38:18 AM
After reading the above post, it is an order of operation issue.
I was setting the value, then activating the viewport.

Same applies to my working methods, I do not ever set a UCS through a viewport.
I create them in Model space and save them with the view, that I later set current through the viewport.
So I haven't ever had the issue that is created by doing through a floating viewport.

So I guess, if one uses cad in a particular fashion, yes the UCSFOLLOWS variable will cause your viewports to zoom.

My suggestion; STOP doing it that way.   ;-)

I'm pretty sure it wasn't.

I just tested this is C3D 2012.

New view port.
UCSFOLLOW  0
activate viewport
no change
UCSFOLLOW 1
new viewport
activate
no change


That isn't the function of that variable.

Cn others please verify these results?

Thanks for admitting you were wrong.   :wink:
Title: Re: What's the sysvar that...
Post by: mjfarrell on November 22, 2011, 08:40:46 AM
As long as you can admit your process is backwards...no problem.   ;-) 
Title: Re: What's the sysvar that...
Post by: M-dub on November 22, 2011, 08:53:29 AM
*Quickly flicks the light switch off and on a few times...*

Do I need to send you two to your rooms for a time-out?

Stop bugging your brother!




Er uh... oops sorry.  I thought I was still at home with my 5 and 3 year olds for a minute there... My bad.
:-D
Title: Re: What's the sysvar that...
Post by: Jeff H on November 22, 2011, 08:56:34 AM
 :lmao:
Title: Re: What's the sysvar that...
Post by: alanjt on November 22, 2011, 08:58:41 AM
Er uh... oops sorry.  I thought I was still at home with my 5 and 3 year olds for a minute there... My bad.
:-D
1 and 4yo; not looking forward to a that.  :-(
Title: Re: What's the sysvar that...
Post by: M-dub on November 22, 2011, 09:23:51 AM
Also relevant...

Title: Re: What's the sysvar that...
Post by: Matt__W on November 22, 2011, 11:13:49 AM
...
Title: Re: What's the sysvar that...
Post by: alanjt on November 22, 2011, 11:37:29 AM
...
Your dog has wood.

(http://www.theswamp.org/lilly_pond/alanjt/HEADBANG.GIF)