Attribute assistant next in series

740
2
11-15-2022 08:31 PM
Labels (1)
cpbride2020
New Contributor III

Every time I create a certain feature, I have to assign it an ID for the next available number. This is complicated by the presence of several markets that can have the same ID between them. The configuration is this:

Feature type - market - UniqueID

or (examples)

XY - NYC - 2112

XY - BOS - 2113

What I would like to do is create a rule that would create the next available number in the NYC market (assumably 2113). Or if I create a feature in the BOS market, it will go to 2114. Any thoughts on how to do this? All I can figure out is lat/lon and grabbing attributes from a source layer. 

Tags (2)
0 Kudos
2 Replies
JohannesLindner
MVP Frequent Contributor

I haven't worked with Attribute Assistant in years, but there is the Generate ID By Intersect function.

If you don't need to work with the feature class in ArcMap, this task can also be easily achieved with an Attribute Rule.


Have a great day!
Johannes
0 Kudos
ASHAFFER
New Contributor II

Hello @cpbride2020 

I was previously a heavy user of Attribute Assistant, but have since moved to ArcPro and Attribute Rules.

I used sequential IDs for a handful of feature classes. This was achieved by creating a seperate "GenerateID" table.

 

Ours looked like this:

ASHAFFER_0-1673382218470.png

 

0 Kudos