I freely admit not understanding much of what goes on under the hood of WME, and barely know enough about script coding that I might be able to play an author on TV… maybe. Probably not.
Something I have wished for since beginning my editing career is a script that shows HN attachment points without opening the HN editor view - just the attachment points, not the HNs themselves.
More than one script highlights segments with no HNs, which is great, but right now there is no way (that I am aware of) to quickly identify segments with screwed up HNs all bunched in one place, or that has just one HN from before the lot was developed into 24 addresses, unless you open the HN editor for practically every segment. This is obviously highly impractical.
Is this something that has been done and I just haven’t found it?
Is this something that hasn’t been done and no one asked for it yet?
Is this something that cannot be done under present WME architecture?
Continued appreciation and thanks to all of you script authors…
Unfortunately not possible - HN information isn’t available unless the HN layer is enabled (displaying). It used to be possible to display it in code, but it was removed over a year ago.
There has to be some HN info available at some base level, or else the color highlighting for segments without HNs could not function. I’m guessing this is a simple “HN info exists yes/no” attribute on each segment? Bummer that this can’t be done…
I wouldn’t say it’s not possible to script this - gaining access to the required data requires nothing more than a standard XHR call with the appropriate parameters, which is well within the capabilities of a userscript.
How it’d actually work in practice is another matter however - I can’t see it realistically working as a completely transparent real-time type highlight in the way WMECH et al behave, because the amount of XHR calls the script would need to be doing as you panned/zoomed around the map would get insane. It’d probably be feasible to have something that triggered as you highlighted or selected a segment/group of segments, or that performed a manually triggered one-shot scan of the currently visible segments (similar to UR-MP Tracking)
If we want a script that displays all the HNs on the screen, it would have to ask this information to server, segment by segment.
Not sure the server would like this flood.