get_magnetic_graph#

MotorCAD.get_magnetic_graph(graph_name)#

Get graph points from a Motor-CAD Magnetic graph.

Parameters:
graph_namestr, int

Name (preferred) or ID of the graph. In Motor-CAD, you can select Help -> Graph Viewer to see the graph name.

Returns
——-
x_valueslist

Value of x coordinates from graph

y_valueslist

Value of y coordinates from graph