Hi @chithramc , take a look at Counter transformer, which generates sequential number as new attribute for each input feature.
Hi @chithramc , take a look at Counter transformer, which generates sequential number as new attribute for each input feature.
Thank you Mr Takashi,
This transformer creating sequence id's, but its not reflecting in final shp file. any additional transformers need to add with this? please advice
SC attached
Thanks
Thank you Mr Takashi,
This transformer creating sequence id's, but its not reflecting in final shp file. any additional transformers need to add with this? please advice
SC attached
Thanks
It doesn't seem that the count attribute name matches destination attribute name.
Try renaming the count attribute ("UUID") to the destination attribute name ("Road_As_ID"). See also this documentation.
Understanding Schema
Thank you Mr Takashi,
This transformer creating sequence id's, but its not reflecting in final shp file. any additional transformers need to add with this? please advice
SC attached
Thanks
Thank you Mr Takashi,
Your advise solve my issue to generate. . Is it any way to add text as a prefix on these newly generated sequential number.
thank you
Thank you Mr Takashi,
This transformer creating sequence id's, but its not reflecting in final shp file. any additional transformers need to add with this? please advice
SC attached
Thanks
Good to hear the Counter solved your question. You can use AttributeManager, AttributeCreator or StringConcatenator to create attribute value concatenate a prefix and the sequential number.
Hi all,
I have the same problem.
I changed the name of the counter and made it local count scope, but still, it's starting from 534.
Did you manage to solved it?
Thank you
Certainly! In FME, you can use the "Counter" transformer to assign unique ID numbers to each point in your dgn file. Here's a basic outline of the process:
- Read your dgn file using the appropriate reader (e.g., MicroStation Reader).
- Add a "Counter" transformer to your workspace and connect it to the reader.
- Set the "Counter" transformer's parameters to start from the value you want (e.g., 1) and increment by 1.
- The output attribute of the "Counter" will have a unique ID for each feature.
- Connect this to a writer (e.g., ESRI Shapefile Writer) to write the shp file with unique custom IDs.