AnsweredAssumed Answered

Setting a Single Record to Selected with Python

Question asked by geonetadmin on Jul 16, 2010
Latest reply on Jul 16, 2010 by Dan_Patterson
Original User: BrendanM

Hello

With Avenue it was possible to select a single record in a table using:

theVTab.GetSelection.Set(rec)

I cannot find an equivalent in Python. The only work-around I can find is using a "Select by Attribute" on the OID field. But this is cumbersome when working with datasets of tens or hundreds of thousands of records.

Any help would be much appreciated. Thank you.

Brendan Magill

Attachments

Outcomes