Markus Barrera-Kolb 20 Posted March 5, 2010 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? Quote Share this post Link to post
Pat Stanford 1,447 Posted March 5, 2010 I can't find the pref for the layer/screen plane option. GetObjectVariableBool(FSActLayer,1160) will tell you if an existing object is Layer or Screen. You can find most of the prefs here: http://techboard.nemetschek.net/ubbthreads/ubbthreads.php?ubb=showflat&Number=134326#Post134326 Kindly documented and submitted by Raymond Mullins. Quote Share this post Link to post
Matt Panzer 779 Posted March 6, 2010 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. Quote Share this post Link to post
Pat Stanford 1,447 Posted March 6, 2010 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). Quote Share this post Link to post
Matt Panzer 779 Posted March 6, 2010 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... Quote Share this post Link to post
MullinRJ 203 Posted March 6, 2010 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 Quote Share this post Link to post
Matt Panzer 779 Posted March 6, 2010 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. ;-) Quote Share this post Link to post
Markus Barrera-Kolb 20 Posted March 8, 2010 Raymond -- thanks a bunch, that's exactly what I was looking for. Sorry I didn't phrase my question more clearly. Cheers, Markus Quote Share this post Link to post
gScott 0 Posted October 29, 2010 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 Quote Share this post Link to post