Grasshopper

algorithmic modeling for Rhino

hey guys,

im looking for a .net component that will output the cameras location as an array...?

thanks a lot

Views: 581

Replies to This Discussion

Attached a VB component that parses the Viewport list and outputs the camera location of the viewport that matches the given name.

Note that this will not update when you change the view. That will require a completely custom component.
Attachments:
Anyone want to give the updating and current camera location .net component a shot? must learn .net soon.. thanks
rrraweesome thanks tons david
or just get the current camera location:

Dim view As MRhinoView = app.ActiveView()
Dim vp As IOnViewport = view.ActiveViewport.vp

A = vp.CameraLocation()
great.. thanks marc

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