GetPoint()
Summary
Gets the location of the point feature with the specified ID.
Syntax
c = GetPoint(integer id)
| Argument | Contents |
|---|---|
| id | The ID of the point feature |
Returns
A coordinate indicating the location of the feature.
Notes
-
The current layer must be a point layer.
Example
pt = GetPoint(123)
CenterMap(, pt)
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | There is no point feature with that ID |
See Also
| Function | Summary |
|---|---|
| GetLine() | Gets the coordinates that describe the location of a line feature |
| GetArea() | Gets the coordinates that describe an area feature |