Polygon Mesh Detailing Option

I need a programmly control for Polygon Mesh Detailing Option

image

https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Geometry_MeshingParameters.htm
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Mesh_CreateFromSurface_1.htm
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Mesh_CreateFromBrep_1.htm