FAQ: Why can't point data be linked to the point parameters of the Create Fishnet tool in Model Builder?
Why can't point data be linked to the point parameters of the Create Fishnet tool in Model Builder?
There are three point parameters to the Create Fishnet tool:
- Origin coordinate
- Y-axis coordinate
- Opposite corner coordinate (optional)
The reason is that these parameters have been customized in the underlying code for the tool, and no data types are recognized for linking.
If a Template Extent data type is linked to the tool, the Origin and Y-axis coordinates are automatically populated from the extent values. The Y-axis coordinate then lies along the Y-axis of the extent range. It is not possible in Model Builder to assign a Y-axis coordinate not along the Y-axis of the extents, and there is no similar workaround for the Opposite Corner coordinate.
It is possible to specify these coordinates by calling the tool in Python. The data type accepted by the tool for point coordinate values is not a point data type, but rather a string consisting of <X coordinate value> <space> <Y coordinate value>. In this way, a Y-axis coordinate not along the extent boundaries can be entered. The same format applies to the Opposite corner coordinate, if supplied.