globalmapper.SetAreaFeaturePointListEx ====================================== .. currentmodule:: globalmapper .. py:function:: SetAreaFeaturePointListEx (GM_LayerHandle_t32 aLayer, uint32 aAreaIndex, uint32 aHoleIndex, [GM_Point_t] aPointList, bool aPosInLayerCoords, float_array aElevList) -> GM_Error_t32 Sets the list of point locations to use for the given area feature. The positions can either be specified in the native projection system of the layer (*aPosInLayerCoords* is TRUE) or in the current projection as returned by :doc:`GetProjection<../measure/globalmapper.GetProjection>` (*aPosInLayerCoords* is FALSE). The positions can also optionally have individual elevations via *aElevList*. The *aHoleIndex* parameter allows you to set the position list for holes within an area as well as the main parent area. To set the position list for the main parent area, use a value of 0 for *aHoleIndex*. To set the position of one of the holes in the area, set *aHoleIndex* to the 1-based index of the hole in the area. :param GM_LayerHandle_t32 aLayer: Layer the area is in :param uint32 aAreaIndex: Index of area in layer :param uint32 aHoleIndex: Index of hole to apply locations to (0 for main parent area, 1 for first hole, etc.) :param [GM_Point_t] aPointList: New list of points for area :param bool aPosInLayerCoords: Are the position in the layer coordinate system or the current coordinate system? :param float_array aElevList: Per-vertex elevations for area feature, or gm.NULL for none :returns: Error Code :rtype: GM_Error_t32