save#
- curve.save(p0: str, p1: str) int #
Specify how to save the selected curve(s) data to a file.
formatted - curve data saved in the following format:velocity vs. Distance for line toolDistance Value X Y Z0.00000e+00 5.56944e-01 -1.84272e+00 5.00623e-01 1.02349e+001.16535e+00 5.06148e-01 -6.77367e-01 5.00623e-01 1.02349e+002.33070e+00 4.33805e-02 4.87984e-01 5.00623e-01 1.02349e+003.49605e+00 3.41879e-01 1.65334e+00 5.00623e-01 1.02349e+004.66140e+00 5.29504e-01 2.81869e+00 5.00623e-01 1.02349e+00Minimum value overallAt Point = 4.87984e-01 5.00623e-01 1.02349e+00,Dist. = 2.33070e+00, Value = 4.33805e-02Maximum value overallAt Point = -1.84272e+00 5.00623e-01 1.02349e+00,Dist. = 0.00000e+00, Value = 5.56944e-01xy_data - curve data saved in the following (x,y) format for importing into a spreadsheets:velocity vs. Distance for line toolDistancevelocity150 0.5569441.16535 0.5061482.3307 0.04338053.49605 0.3418794.6614 0.529504- Args:
- p0:
‘type’
formatted
xy_data
- p1:
‘filename’ name of the file in which to save the curve points
- Examples:
ensight.curve.select_begin(0) ensight.curve.save("xy_data","Curve0")
- Returns:
zero on success, non-zero on error