Is there a way through ArcObjects to run the “Find –Linear Referencing”command? I don’t want to use the locate features tool because I don’t want tocreate a table. I just want the user to user to change a couple comboboxes onmy form and search for a match, then give them the option to flash the locationor draw a graphic at that location. Like is done in the bottom of the FindDialog though I want to use my own form and not the Find Dialog. If this cannotbe done in C# and .Net is it possible inPython?
Thanks,
Craig
The follow VBA code shows you how to open that dialog. I don't believe you can then hook into it and say populate it with values or select the Linear Referencing tab. To my knowledge those properties are not exposed.
Public Sub openFindDialog() Dim pUID As UID Set pUID = New UID pUID.Value = "{CE9BB1E9-B2D4-4442-8A81-42478C81B256}" Dim pApp As IApplication Set pApp = Application Dim pCommandItem As ICommandItem Set pCommandItem = pApp.Document.CommandBars.Find(pUID, True) pCommandItem.Execute End Sub
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.