Get reference to selected features, not selected layers
Hi,
I am new to scripting in GM so please have mercy on me if this is actually an obvious thing.
I would like to change some attributes of just the features I selected in the GUI without changing the other ones also if they are in the same layer/s.
I searched about this in the documentation but I couldn't find it, maybe I was not searching for the right words.
Please advice,
Best regards
I am new to scripting in GM so please have mercy on me if this is actually an obvious thing.
I would like to change some attributes of just the features I selected in the GUI without changing the other ones also if they are in the same layer/s.
I searched about this in the documentation but I couldn't find it, maybe I was not searching for the right words.
Please advice,
Best regards
Tagged:
Answers
-
Hello,
In the EDIT_VECTOR command, you use COMPARE_STR and other related parameters to "select" features to operate on. There is not currently an option to limit the search to the features currently selected in the UI.
Cheers,
Bob
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 939 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 579 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 110 Global Mapper Forum Website

