Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

Control camera via API

Dmitry_17Dmitry_17 Member, Developers Posts: 2
Hi Team!

Is it possible to control camera (set to named views, fit all model to viewport, etc.) using any kind of API?

Answers

  • Options
    MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,034 EDU
    There are some keyboard shortcuts that may be of some use to you.

    Ctrl/Cmd + 1/2/3/4/5/6/7 does all your different views such as top, front, right, isometric/pictorial.

    You can also use arrow keys to spin the model around.
    mb - draftsman - also FS author: View FeatureScripts
    IR for AS/NZS 1100
  • Options
    Paul_J_PremakumarPaul_J_Premakumar Member, Onshape Employees Posts: 197
    We currently support querying the camera properties with the client messaging requestCameraProperties API. The named views can be obtained via the Get Named Views REST API. We don't support modifying the camera properties via either APIs.

Sign In or Register to comment.