sub PipeInvert()'Pipe Invert Elevationsdim RIMELEV, MEASUREDOWN_N, MEASUREDOWN_S, MEASUREDOWN_E, MEASUREDOWN_W, INVERTN, INVERTS, INVERTE, INVERTW'Form ValuesRIMELEV = Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtRIMELEV").ValueMEASUREDOWN_N = Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtMEASUREDOWN_N").ValueMEASUREDOWN_S = Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtMEASUREDOWN_S").ValueMEASUREDOWN_E = Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtMEASUREDOWN_E").ValueMEASUREDOWN_W = Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtMEASUREDOWN_W").Value'Pipe Invert = Rim Elevation - MeasuredownApplication.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtINVERTN").Value = (RIMELEV) - (MEASUREDOWN_N)Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtINVERTS").Value = (RIMELEV) - (MEASUREDOWN_S) Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtINVERTE").Value = (RIMELEV) - (MEASUREDOWN_E) Application.Map.Layers("MH").Forms("EDITFORM").Pages("PAGE1").Controls("txtINVERTW").Value = (RIMELEV) -(MEASUREDOWN_W) end sub
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.