): traceObject.add [...] Diagram = traceObject.diagrams.add [...] .variable_list: diagram = traceObject.diagrams.add