Trimble Connect User Forum

 View Only

 Rotate object by 90 deg on axis Y

Paulius Vasiliauskas's profile image
Paulius Vasiliauskas posted 02-24-2023 04:35

Hi , 

Is it possible to rotate all model by 90 deg on Y axis. 

I'm trying to perform api command on a specific view camera and set its properties:

{
    upX: 0,
    upY: 1,
    upZ: 0,
  };

But it seams to have no impact on rotation of the view.
Even on response i get:

{
  cameraId: '...',
  targetX: 18422.33122341731,
  targetY: 16230.350043018962,
  targetZ: 8861.215174041557,
  upX: 0,
  upY: 1,
  upZ: 0,
  distance: 1000,
  pitch: 1.276547601689627,
  yaw: 0.7853981633974483,
  viewAngle: 60,
  viewScale: 9.314164342048578,
  projectionType: 'perspective',
  viewId: '...'
}


Cause some of the elements that we manufacture we are prefabricating it in horizontal manner and factory workers would like to see it that way and not how its being modeled and standing on site.