Hi,
Is there a way I can do the following? automatically generate points at the endpoints of a line features when the line is created or updated using attribute rules (when i create a line automatically generate a point at the end line feature)
Solved! Go to Solution.
Have a look at this example which can be modified for this purpose.
This is how you get the endpoint:
var endpoint = Point(Geometry(line)["paths"][-1][-1])
Have a look at this example which can be modified for this purpose.
This is how you get the endpoint:
var endpoint = Point(Geometry(line)["paths"][-1][-1])
Thank you, very helpful
FYI - The link appears to be dead.
Ah some stuff got moved around. Try here
If I assign a subtype to the point feature, can I define a specific value to be edited؟
like this image:
You can include attributes in the newly created points. Please see attribute rules doc.