Jump to content
Developer Wiki and Function Reference Links ×

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

Link to comment

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.

×
×
  • Create New...