Converts a 3-D point value to a string. Useful for display point values as output, or passing point values to Rhino commands.
Rhino.Pt2Str (arrPoint [, intPrecision [, blnSpace]])
arrPoint |
Required. Array. A 3-D point. |
intPrecision |
Optional. Number. The display precision of the point coordinates, which is an integer value between 0 and 16. The default is to display the precision defined by the display precision setting that is found on the Units page of the DocumentProperties command. |
blnSpace |
Optional. Boolean. Append an additional trailing space after the point string. The default value is not to append the additional space (False). |
String |
The formatted string if successful. |
Null |
On error. |
Dim arrPoint
arrPoint = Rhino.GetPoint
Rhino.Print Rhino.Pt2Str(arrPoint)
Rhino.Print Rhino.Pt2Str(arrPoint, 6)
Rhino.Print Rhino.Pt2Str(arrPoint, 3)