Create a New JSON 2D Array: Export XY Coordinates of mvt.Target.
using JSON Pointer..
ASTER::ACTION::JSON::MvtUtil: Create a new JSON 2D array & export the XY coordinates of the mvt.Target object instances
Export the XY coordinates of all object instances selected in mvt.Target to a newly created JSON array in the specified path.
Create a new JSON array (two-dimensional array) for existing JSON data loaded into memory.
Parameter
Specify the path for creating a new JSON array using a JSON Pointer.
"/TgtXyCoords"Example result when there are 4 instances selected as mvt.Target:
{
"TgtXyCoords":
[
[100, 100],
[100, 200],
[200, 100],
[200, 200]
]
}◆◆ <!-- Imagine this kind of arrangement -->
◆◆Caution:
If other data exists at the specified path, the existing data will be replaced by the array through overwriting.