With the Generate Points Along Lines (Data Management) geoprocessing tool, we can use a constant as the Percentage or Distance parameter:
However, there are times when we want to use varying values from a field/input feature class.
As @ScottFedak2085 said in a related post:
I know I've ran into issues with that GP Tool only being able to apply the same distance or percentage across every feature in a feature class. I've had times where I wanted to utilize a features attributes to vary how points are placed along a given feature. To accomplish this, I've modified the code in Link #1 below utilizing Geometry Objects. It might be worth looking at Geometry Objects and their associated methods (Link #2) when you have a chance, they can be a pretty powerful tool in conducting custom spatial analysis.
Link #1 - https://gis.stackexchange.com/questions/214162/generate-points-along-line
Link #2 - https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/geometry.htm
Could the Generate Points Along Lines tool be enhanced so that we can use values from a field? Similar to what we can do with the Buffer tool?
Thanks.