How to set object display mode in grasshopper to a brep

I am trying to setobjectdisplaymode to a brep in grasshopper with some of the new tools in grasshopper from Rhino 8. I have reviewed the objects attributes in ‘new in Rhino 8’ in grasshopper documentation and it covers layers, linetypes, hatches, etc. and i understand it but no info on the how to do the above question. Any help would be appreciated.

You can set the Display Mode via Display Attributes of an Model Object like so…

1 Like

Thanks for your quick reply Japhy. I looked it over and tried to apply it to my definition and got this result. Maybe you can give me some insight on a workable solution.
Best Regards

Hi David -

Please post the .gh file (and make sure to internalize any referenced Rhino geometry).
-wim

Do yourself a favor and don’t mix bake components from Elefront or Human with the new Grasshopper Rhino components.

I’m confused by all the bake components.

1 Like

I will bake the final result and there will be only one bake component when definition is completed. I was just testing the definition suggestion you had provided with a separate bake component for that object only. Does this help?

Thanks, I will be aware of that for the future. :slightly_smiling_face:

1 Like

Wim,

Below is the pared down set of components for you to help me with.

Thanks So Much

GlassTest3.gh (148.9 KB)

Looks good here.

Is it possible to have something in the grasshopper script that sets the display in Rhino to shaded rather than by object?

Hi Diana, Something akin to SetObjectDisplayMode or are you referring to the View?

Change Object

Change View

Change view is exactly what I’m looking for, thanks a lot!

2 Likes