get_magnetic_graph_point#

MotorCAD.get_magnetic_graph_point(graph_name, point_number)#

Get a point 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.

point_numberint

Point number to retrieve the x and y coordinate values from.

Returns:
xValuefloat

Value of the x coordinate from the graph.

yValuefloat

Value of the y coordinate from the graph.