Jump to content
Developer Wiki and Function Reference Links Read more... ×
Markus Barrera-Kolb

trouble with script to set perspective view & OpenGL

Recommended Posts

I'd been using a script with VW2017 and VW2018 that set the view to normal perspective and the render mode to OpenGL, in part because I'd found that if you activated the flyover tool while inside a group, the default view and render mode were ignored, and also because there's a small lag before you can use the SpaceNavigator 3D mouse after activating the flyover tool. The script worked great in '17 and '18, but now I'm getting this error with it in VW2019:

 Error on line=3: PERSPECTIVEOPENGL DOMENUTEXTBYNAME – Menu cannot be found. Projection.

Here's the script: 

PROCEDURE PerspectiveOpenGL;
DoMenuTextByName('OpenGL Render Chunk',1);
SetPref (1320,False);
SetPrefReal (127,6.0);
RUN (PerspectiveOpenGL);

Any help is appreciated – thanks!




Share this post

Link to post


   It works on my system, both as a Palette Script, and as a Menu Command. Have you tried restarting VW? Is your VW an English language version?



Edited by MullinRJ

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


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.