Jump to content
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;
BEGIN
DoMenuTextByName('Projection',5);
DoMenuTextByName('OpenGL Render Chunk',1);
SetPref (1320,False);
SetPrefReal (127,6.0);
END;
RUN (PerspectiveOpenGL);

Any help is appreciated – thanks!

 

Cheers,
Markus

Perspective+OpenGL.vsm

Share this post


Link to post

Markus,

   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?

 

Raymond

Edited by MullinRJ

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...