Doing this now:
rs.Command("SetView C T"), False
Doing this now:
rs.Command("SetView C T"), False
I think something like this -
plane = rs.ViewCPlane()
camInfo = rs.ViewCameraTarget()
vecCam = camInfo[1]- camInfo[0]
vecTarg = plane.ZAxis * vecCam.Length
rs.ViewCameraTarget(rs.CurrentView(),plane.Origin + vecTarg,plane.Origin)
rs.ViewCameraUp(rs.CurrentView(),plane.YAxis)
-Pascal
Wow, that’s neither short, readable or intuitive…
well… sorry - there may well be a better way, but my guess is the command does something very like this, internally.
-Pascal