Jump to content
Sign in to follow this  
Markus Barrera-Kolb

A script for toggling "Display Screen Objects" ?

Recommended Posts

Does anyone know what the pref number for "Display Screen Objects" might be? I'd like to write a script to toggle it, so that I can quickly draw 2D objects while in a 3D view in order to generate new 3D objects, but then turn off 2D display again with a keystroke. Thanks!

Cheers,

Markus

p.s. is there a place in the new documentation where the pref codes are listed?

Share this post


Link to post

I think Markus is talking about the display pref for unified view - not the object setting.

It's a good question and I don't have the answer. I'm not on a computer with VW installed, but I can do some digging later to try to find it.

Share this post


Link to post

I read it as the pref to set newly created object to Layer Plane or Screen Plane.

Unified View is is 94 (actually Stack Layers as it is still called in the VS Appendix).

Share this post


Link to post

I just reread my post and wasn't clear. I meant the view option to show planar objects (while in unified view). Not for unified view itself. In any case, I'm now not sure which Markus is needing. I've been planning to make a toggle script for the view option I just mentioned...

Share this post


Link to post

While we are all thinking, I think he wants Pref 95 (with a side of 102), but I say this having had the luxury of reading your thoughts.

This script will toggle it:

???SetPref(95, not GetPref(95));

Raymond

Share this post


Link to post

Yes! That's the one (with the side order) I was referring to.

Thanks Raymond. I knew if I put off searching for it, you'd do it for us. ;-)

Share this post


Link to post

hi

i'm trying to get STACK LAYERS

to work in a VW12.5 script as

the "save view" doesn't seem to

record or recover this setting

neither pref 94 nor 95 work in VW12.5

"STACK LAYERS" doesn't work as a

"DoMenuTextByName"

and there is no refence to it at all

in the 12.5 help or VS appendix

does anyone have any ideas?

thanks

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

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.

×