Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7650783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:20:27+00:00 2026-05-31T11:20:27+00:00

I need to do a simple pdf with some 3D objects for an oral

  • 0

I need to do a simple pdf with some 3D objects for an oral presentation. I made several views, each one with a camera viewpoint, an object and a display mode.
To avoid the need to manually switch between the different viewpoints with the context menu, I would like the viewpoints to switch automatically with a Timer (each viewpoint staying for a few seconds). And I would like to not have to touch the mouse at all (nor the keyboard), so I would like to have the playback started as soon as the page appears.

I found the javascript command runtime.setView(N,x) to switch to the x’th view among N, but I don’t know where to put it (I don’t want to define a function which will be called when I press a button, since I want everything to be automated). Also, I don’t know how to pause for a few seconds.

Any help ? Thanks !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:20:28+00:00Added an answer on May 31, 2026 at 11:20 am

    I believe you’re looking for setInterval(fn, time) which will call a function periodically at a time interval that you set. I’m not familiar with the setView() method you mentioned, but here’s some pseudo code that you would put in tags at the end of the document body.

    function startSwitcher()
        var viewNum = 0;
        var maxViews = 5;     // you set this to how many views there are
        setInterval(function()  {
            ++viewNum;
            if (viewNum >= maxViews) {
                viewNum = 0;
            }
            runtime.setView(N, viewNum);     // you will have to figure out this line 
        }, 2000);
    }
    
    startSwitcher();
    

    The 2000 is 2000 milliseconds and is the time interval between executing the function. You can put any number of milliseconds there.

    The runtime.setView(N, viewNum) line is something you will have to figure out as I am not familiar with whatever library you’re trying to use there. The operative part of this code is the viewNum variable which configures which view in rotation should be next.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

simple thing which I need to do is, that I have a pdf document
I need a simple application, preferably a cross-platform one, that enables sending of files
I need to pre-produce a million or two PDF files from a simple template
I need some sample code to insert a image as a pdf background, is
How do I create unique key value in PHP? I need simple unique keys
I need a simple communication protocol between two devices (a PC and a microcontroller).
I need something simple like date , but in seconds since 1970 instead of
I need a simple proxy PHP function/script that can download a file from a
I need something simple; I have page where a user clicks an author to
I need an simple way to check whether a string that is sent to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.