def __displayTheInterfaces(self, oglInterfaces: OglInterfaces, umlFrame: UmlDiagramsFrame): for oglInterface in oglInterfaces: attachmentAnchor = oglInterface.destinationAnchor x, y = attachmentAnchor.GetPosition() umlFrame.addShape(oglInterface, x, y, withModelUpdate=True)
def __displayAnOglObject(self, oglObject: OglObject, umlFrame: UmlDiagramsFrame): x, y = oglObject.GetPosition() umlFrame.addShape(oglObject, x, y)