Disable IsoCurves as Default

Hi everyone,

When I add breps onto Rhino Viewport usign with

        if (null != Breps&& Breps.Count > 0)
        {
            var group_index = doc.Groups.Add();
            var attributes = doc.CreateDefaultAttributes();
            attributes.AddToGroup(group_index);

            for (var i = 0; i < Storeys.Count; i++)
                doc.Objects.AddBrep(Breps[i].Brep, attributes);
            doc.Views.Redraw();
            return true;
        }

1 - Can I add to doc breps without their IsoCurves?
2 - Is there any way to hide sew line (I dont know the name of it) ?

Thanks in advance,
-Oğuzhan

Hi @oguzhankoral,

Try this:

if (null != Breps && Breps.Count > 0)
{
  var group_index = doc.Groups.Add();
  var attributes = doc.CreateDefaultAttributes();
  attributes.AddToGroup(group_index);
        
  // Hide isocurves
  attributes.WireDensity = -1;

  for (var i = 0; i < Storeys.Count; i++)
    doc.Objects.AddBrep(Breps[i].Brep, attributes);
  doc.Views.Redraw();
  return true;
}

I don’t know a way of hiding the surface seam.

– Dale

1 Like

@dale,

Its totally match with that I want!
Thank you so much!

Best regards,
-Oğuzhan