2022-01-25 08:33 AM
Is there a way to make the index value of a newly created layer or layer combination the same as the layer setting dialog? If missing indexs are in layers (for example, layer attribute indexs are 1, 2, 5 and 6, and 3 and 4 are deleted), ACAPI_Attribute_Create outputs a new layer's API_Attribute structure with index is 3.
If a newly created layer by the layer setting dialog, it had index is 7, different from the ACAPI_Attribute_Create outputs. The same was true for the layer combinations. This difference may cause layer item conflict issues between teamwork users.
Solved! Go to Solution.
2022-02-02 11:29 AM
Hi Ryo,
There's no direct way from the API; you have to create temporary attributes to fill in the holes.
Best, Akos
2022-02-02 11:29 AM
Hi Ryo,
There's no direct way from the API; you have to create temporary attributes to fill in the holes.
Best, Akos
2022-02-04 03:09 AM
Thank you for your reply. I'll try it.