*curvemodifypointcords
Modifies the x or y coordinate of an existing point on a curve.
Syntax
*curvemodifypointcords curve_id point_number -x xvalue -y yvalue
Type
HyperMesh Tcl Modify
Description
Modifies the x or y coordinate of an existing point on a curve.
Inputs
- curve_id
- The ID of the queried curve.
- point_number
- The point number on the curve to be modified. Point numbering starts with 1.
- -x
- The string identifiers to modify the x coordinate of the point.
- xvalue
- The value to be modified of the x coordinate of the point.
- -y
- The string identifiers to modify the y coordinate of the point.
- yvalue
- The value to be modified of the y coordinate of the point.
Examples
To modify the x coordinate of the second point to
5.0:
*curvemodifypointcords($curve_id, 2, -x, 5.0)
To modify the y coordinate of the second point to
100.0:
*curvemodifypointcords($curve_id, 2, -y, 100.0)
To modify the second point x coordinate to 5.0 and y co-ordinate to
100.0:
*curvemodifypointcords($curve_id, 2, -x, 5.0, -y, 100.0)
Either -x xvalue or -y yvalue, or both can be specified. If only x coordinate needs to be modified, specify -x xvalue.
If only y coordinate needs to be modified, specify -y yvalue.
If both x and y coordinates need to be modified, specify -x xvalue -y yvalue.