Modify surfaces settings of display modes?

Hello,

I have a difficult problem.
Which code function can modify the surface settings of view display modes’ objects?

Thanks,
A.

@dale , RhinoCommon have no DisplayAttributes Naked Edge Thickness and Surface Isocurve width, please added an issue for this. thanks

Hi @Alen_Russ,

i only see a display mode property for SurfaceEdgeThickness but nothing for naked edge thickness or isocurve width:

https://developer.rhino3d.com/api/RhinoCommon/html/Properties_T_Rhino_Display_DisplayPipelineAttributes.htm

import Rhino
import scriptcontext

def SurfaceEdgeThickness():
    
    dmd = scriptcontext.doc.Views.ActiveView.ActiveViewport.DisplayMode
    dmd.DisplayAttributes.SurfaceEdgeThickness = 3
    Rhino.Display.DisplayModeDescription.UpdateDisplayMode(dmd)
    scriptcontext.doc.Views.Redraw()

if __name__=="__main__":
    SurfaceEdgeThickness()

_
c.

Yes, no naked edge thickness or isocurve width property
Thank you

I’ve logged the request.

https://mcneel.myjetbrains.com/youtrack/issue/RH-69035

– Dale

1 Like

Thank you