Grasshopper

generative modeling for Rhino

QUTAIBAH HAMADAH
  • Male
  • Chicago, IL
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (2)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

QUTAIBAH HAMADAH's Discussions

Get Name for Point()
1 Reply

Hello all, I am trying to use C# and RhinoCommon to get a point, then extract its name and coordinates. So my code look something like this:ObjRef objRef = GetObject.Object(int index);Point pt =…Continue

Tags: Name, Point, RhinoCommon, C#

Started this discussion. Last reply by QUTAIBAH HAMADAH Aug 12, 2012.

 

QUTAIBAH HAMADAH's Page

Latest Activity

QUTAIBAH HAMADAH replied to QUTAIBAH HAMADAH's discussion Get Name for Point()
"So here is what I figured out: 1. Get name for point: RhinoObject rObj = objRef.Object(); // instead of the objRef.Point() String name = rObject.Attributes.Name; // the RhinoObject as the Attributes property 2. Get the coordinates: Point pt =…"
Aug 12, 2012
QUTAIBAH HAMADAH posted a discussion

Get Name for Point()

Hello all, I am trying to use C# and RhinoCommon to get a point, then extract its name and coordinates. So my code look something like this:ObjRef objRef = GetObject.Object(int index);Point pt = objRef.Point()and I am trying to do the following:String name = pt.Name;double x = pt.X;After a few hours of search. I know its not quite as simple as what I am suggesting above. I was hoping that someone can help steer me in the right direction. Thanks for your help,See More
Aug 12, 2012
QUTAIBAH HAMADAH is now a member of Grasshopper
Jun 22, 2011

Profile Information

Company, School, or Organization
Illinois Institute of Technology

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service