Hi @Steve1,
Go into Rhino Properties (File-Properties-Rhino Options-View-Display Modes), and make a copy of the display mode you like the general look of. eg. Shaded.
Go to the Shaded copy and Change the name to something eg. Transparent
In Color & Material usage set this to Objects Color. Below this you can set the transparency.
Click OK
Now in Rhino when you use the SetObjectDisplayMode, you can select the new Display Mode you have just made.
If it isn’t transparent enough, then go into the display mode and adjust the transparency of you new display mode until it suits your needs.
I would also make a new button with the following on to quickly reset all the selected objects back to normal, because the setdisplaymode command is ‘sticky’ and the mode stays with the object until you reset it again.
SetObjectDisplayMode Mode UseView
Michael VS
Hi, Copy now made, I have altered the transparency setting to 50% see screenshot, however running SetObjectDisplayMode and choosing Transparent Shaded with object selected sees no change.
BrianM…is that for the Rendered window , or possible whilst in shaded view ?,
I tried selecting object in shaded view then selecting ‘toothpaste’ icon (!) and object and transparency but nothing.
run SetObjectDisplayMode and choose rendered then do that and yes success, but:-
object now gray
2:0
how do I get it back to coloured and not transparent afterwards ?
Did you adjust the transparency in the material dialog? - you can also change the colour here as this object is now rendered. The object will remain ‘rendered and transparent’ regardless of displaymode.
To return the object to it’s previous condition, run SetObjectDisplayMode again and choose the ‘UseView’ option.
Hi,
V5
I have just come to refer to this thread needing to do whats in it again and all images are gone, can the posters put back what was there please.
(one of 6000 images that got lost I am told, and to re-ask/post to fix)
1 select object
2 assign a custom material to it
3 rename material - i.e.’ transparent’
4 adjust transparency for new material
5 ‘SetObjectDisplayMode’ for still selected object and set to rendered
The method above is meant to apply the transparent material to the surface, not to the layer, however, if you apply that material to a layer and draw in rendered mode with that layer as current, then new surfaces will be transparent (while in rendered mode). The surfaces don’t have to be closed, by the way.
A convenient way to toggle a surface between transparent and normal is to have a custom button, provided the custom transparent material is already applied to the surfaces.
If i want to set a custom display mode using SetObjectDisplayMode, i can only select the preprogrammed display modes. I cannot select the custom ones. (I only want to Apply this custom displaymode to one object) Is there a solution to that?