How to open corner

As the title says. How can I open corners of a path (i.e. make a loop) via scripting?

layer.openCornerAtNode_offset_(node, offset)

Ah thanks! I was only looking at GSNode and GSPath.

I think it is at the layer because of this:
layer.reconectNodesAtNode1_node2_offset_(node1, node2, offset)

Right, that’s fair.