Grasshopper

algorithmic modeling for Rhino

Accessing Document Light Table GUIDS and Names Via Python or C#

Hi All,

I have downloaded the Rhino/GH lights user objects which lets you edit lights in the document if you input there ID.

What I would like to do not is access all lights in the document then select the GUIDS and Names the one I want to edit from the list.  But a little lost with how to access this via Python or C#

Any ideas much appreciated.

Thanks 

Matt 

Views: 785

Replies to This Discussion

I think you can do the same with elefront GH3D plugin ( http://www.food4rhino.com/project/elefront?etx )

"reference by type" (light) then "get rhino attributes" or "filter by" or the standard "guid" with a "dispatch"

Hmm interesting idea, I had not thought of those. Just had a quick test but could not get them to work, maybe as Light/s are not a option they have allowed. with the Ref Type or even Ref Name.

with type ref use text panel "light" and you'll get all lights

then using this plugin :

http://www.neoarchaic.net/posts/rhino-lights/

xx

Seems I was on an older Elefront than you, Downloaded the new one and works great.

I am all ready using the Rhino-lights plug-in just need a way to select lights in the scene to edit.

This is my take on light Selection now it works.

Thanks Matt

cool, don't hésitate to share your script (GH file) maybe useful for someone else

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