Is it possible to add a SubD object to a File3dmObjectTable?

Hi,
I’m trying to add a SubD object to a File3dm through RhinoCommon, but it seems like I can’t find an appropriate File3dmObjectTable.AddSubD method for it. With a RhinoDoc, I’ve noticed that this is possible;

RhinoDoc.ActiveDoc.Objects.AddSubD(subD);

But there seems like there is no AddSubD for the File3dm version;

File3dm.Objects.AddSubD(subD); //compile error

Is this by design? If so, is there a way around it without converting the SubD to a Brep?

cc @stevebaer

Thanks,
Emil

Nope, I just forgot. I added this to my todo list and will hopefully be able to get to it in the next few days
https://mcneel.myjetbrains.com/youtrack/issue/RH-61205

1 Like

Awesome, thank you! :raised_hands:

The next beta should have an AddSubD function on the File3dmObjectTable

1 Like

Excellent, thanks @stevebaer

RH-61205 is fixed in the latest BETA

2 Likes

Great news, thanks @brian

A post was split to a new topic: Add Radial dimension to a File3dmObjectTable