Syntax @GridSnapper(, , , ) @GridSnapper(, , , , , ) Arguments The false origin for x-values. Range: double The false origin for y-values. Range: double A scale factor to convert to integers for x and y-values. Range: double Select to view output as either the underlying integer ArcSDE grid or the original plane coordinates. Range: Yes | No The false origin for z-values. Range: double A scale factor to convert to integers for z-values. Range: double The number of bits of precision the coordinates will be stored at. High is 53 bits, low is 31. Range: High | Low Description The function will attempt to simulate the ArcSDE conversion on the feature, and will succeed only if all the coordinates of the feature are within the range defined by the ArcSDE format. However, illegal geometries, such as areas with dangles, will not be checked for validity. All coordinates in the ArcSDE format must be 32-bit positive integers. Many coordinates do not meet this requirement; thus, an offset and scaling factor is required to convert all coordinates to integers. The conversion is performed with the equations ArcSDE X = truncate ((( X coordinate - ) * ) + 0.5 ) ArcSDE Y = truncate ((( Y coordinate - ) * ) + 0.5 ) ArcSDE Z = truncate ((( Z coordinate - ) * ) + 0.5 ) If any adjacent coordinates snap onto the same location after conversion, the duplicates will be removed and will be recorded in a list attribute. If any of the coordinates are outside of the ArcSDE range, the conversion is cancelled and the function adds an error attribute to the feature. If requested, ArcSDE coordinates are converted back to the original plane coordinates through the equations X coordinate = (( ArcSDE X / ) + ) Y coordinate = (( ArcSDE Y / ) + ) Z coordinate = (( ArcSDE Z / ) + ) Arcs and ellipses passed through the GridSnapper will be stroked into lines; this matches the behaviour of the ArcSDE writer, which does not support the storage of these types of geometries.