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)
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.
https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm#ESRI_SECTION2_7413AF9303C14F179B51DAD5EC7A361C
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.