Grasshopper

algorithmic modeling for Rhino

Hi everyone, 

this is probably an easy fix, but is there a way to get the cameraport from the viewport you are currently using. 

This is to make it possible to have things always orient towards where you are looking. 

Views: 953

Replies to This Discussion

just clarify a little bit, I am looking for something along the lines of

RhinoViewport view = Rhino.GetActiveViewport;

Point3d pt = view.CameraLocation();

and then use pt to construct an orientation plane to which I can place objects.

Hi Jens.

Check the RhinoViewport.CameraTarget property.

had a friend send me this link... Keep forgetting about rhino common... http://wiki.mcneel.com/developer/rhinocommonsamples/activeviewport

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service