Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

RhinoCommon C# Recognize ObjectType

$
0
0

@dimcic wrote:

Hi,

this is a pretty basic question, but what would be the easiest option to recognize the ObjectType? (using RhinoObject or ObjRef as input)?

I don`t see anything in the Attributes…I could check for every possible type:

var curve = gc.Object(i).Curve();
if (null != curve)
I guess I have a curve

But that seems a bit much…?

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles