get_fea_graph#

MotorCAD.get_fea_graph(graph_name, slice_number, point_number=0)#

Get graph points from a Motor-CAD FEA 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.

slice_numberint

Which skew slice to get results from. Slice 1 is the first.

point_numberint

Point number to get x and y coordinate arrays from for transient graphs.

Returns:
x_valueslist

value of x coordinates from graph

y_valueslist

value of y coordinates from graph