Grasshopper

algorithmic modeling for Rhino

Is is possible to cast DocObjects to a GeometryBase?

For example, I have a type Rhino.DocObjects.CurveObject and I would like it to be cast to type GeometryBase.

Views: 261

Replies to This Discussion

No, RhinoObjects do not inherit from GeometryBase. What you need to do is access the geometry of the RhinoObject, that should return a GeometryBase kind of type.

Ah! Didnt think about using RhinoObjects to access the Geometry.  Thank you!  Worked Great!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service