Jump to content
KenAB94662

Vectorscript for Unified View

Recommended Posts

Hello Ken,

   This short two line script will toggle the Unified View ON and OFF each time it runs. It will also beep when Unified View is ON, which I use as auditory feedback for its state.

 

SetPref(94, not GetPref(94));   { Toggle Unified View }
if GetPref(94) then SysBeep;

 

If you just want to set Unified View ON use:

SetPref(94, TRUE);

 

If you want to set it OFF use:

SetPref(94, FALSE);

 

HTH,

Raymond

  • Like 1

Share this post


Link to post

Thank you Raymond!

 

Works great!

 

I was clueless on the name of the procedure. Was searching for "unified view" something. Glad to know it's "stack layers."

  • Like 1

Share this post


Link to post

You,re welcome. The name threw me, too – again. I knew it wasn't "Unified View" in the documentation because I've been down this road before, but I couldn't remember what it was. I searched for "view" in the documentations and that got me close enough to find it. Glad I could help.

 

Raymond

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...