GetCoord Undefined Command

GETCOORD Dialog Box Queries

Opens a small dialog box to instruct the user to click on the page to return a coordinate value to the script. The dialog box has a Cancel button.

getcoord [MESSAGE message]

stem/a Gets the mouse coordinates.

MESSAGE/s The message to display. Max length = 55 characters.


If Cancel is chosen, it sets RC to 10. If the user clicks on the page, it sets RC to 0 and returns the coordinates to the stem variable.


x/d The horizontal coordinate.

y/d The vertical coordinate.


'getcoord coord message "Click on the page"'


GetCoord  Command Definition  url:PGScmd/getcoord
  created:2006-03-30 22:20:06   last updated:2006-03-30 22:20:06
  Copyright © 1985-2023 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetCoord
There are no user contributed comments for this page.