Global Mapper v26.0

Help with getting attributes for selected features

Hi,

Sorry if this is an obvious thing but I am stuck on it.

I would like to use python to make a script that, after selecting point features that have SLOPE_DIR attribute, generates an arrow shape oriented by the SLOPE_DIR attribute.

I know I can generate quiver plots easily, but they are only raster and I would like to export the arrows to CAD data.

After getting the selected points by:

selectedPoints = gm.GetSelectedFeatures(4)

I am trying to read attributes from them but I cannot find any example or reference. Please advice on how to proceed.

Best regards

Answers