Page 1 of 12

[Script] WME RA Util

PostPosted: Wed Nov 16, 2016 4:40 am
by JustinS83

Current Version: 2019.04.08.01


This script enables the ability to shift a roundabout N/E/S/W by a definable amount (default amount is 1 meter). This allows an editor to correctly place a roundabout that may be out of alignment with aerials (due to bad initial drawing, being created before aerials were updated, etc.) without needing to delete & recreate the roundabout and thus lose segment history.

It also gives the ability to rotate the roundabout - currently it is only possible to make an ellipse stretched N/S or E/W. Using this script the ellipse roundabout can be created N/S or E/W and rotated into the correct position.

The script will remember the collapsed/expanded state between loads so you can minimize it until you need to use the functionality.

It is also possible to drag the window around the screen and its last location will persist to the next load.

Change Log
2019-04-08 - 2019.04.08.01 - Shifting of nodes in RAs with differing A to B & B to A segments should now work correctly.
2019-03-27 - 2019.03.27.02 - Added the ability to shift the A & B nodes of a roundabout segment along the roundabout so it isn't necessary to disconnect and reconnect after adjusting the size/position and the node no longer lines up.
2019-03-21 - 2019.03.21.01 - Roundabout expansion/contraction now possible.
2018-02-27 - 2018.02.27.1 - Incorporated the Roundabout Angles script, including a checkbox to enable/disable. This checkbox is available on the Roundabout Utility window that is displayed when a roundabout segment is selected.
2017-11-14 - 2017.11.14.01 - Fixing the layout so both adjustment controls are on the same line
2017-02-28 - 0.3.6 - Undo should now work correctly after shifting the RA.
2016-11-22 - Added using MultiAction in order to reduce the save count bloat. Each shift/rotate should now only increase the total changes by 1 instead of 8.

Re: [Script] WME RA Util

PostPosted: Wed Nov 16, 2016 6:55 am
by Onmywaysir
Maybe it is just me. idk. But with the script running I can not pull up Edit house numbers in WME with this script running. :(

Re: [Script] WME RA Util

PostPosted: Wed Nov 16, 2016 11:06 am
by vince1612
I wanted to test this by creating a new roundabout somewhere and I had problems with creating new roads when this script was enabled.
After double clicking to end a new road the mouse pointer would stay in road creation mode, pressing the Esc key did not work to return to regular mouse pointer and saving changes did not work at all.

It seems to make new road creation and saving impossible. When I disabled only that script in my console WME started to work normally once again.

Re: [Script] WME RA Util

PostPosted: Wed Nov 16, 2016 12:01 pm
by oldbeeg
Works wonderfully to move the RA.

With it running, though, edits wouldn't show to save, although when I clicked to close the browser, I got 'you're going to lose edits' box.

Re: [Script] WME RA Util

PostPosted: Wed Nov 16, 2016 12:50 pm
by JustinS83
Thanks for trying the script, guys!

What you are probably experiencing is this script is "fixing" some others (it uses another script I recently published which thanks to d2, fixes one of the recent WME changes) and they are having other issues because they are now failing later. Try disabling Toolbox and see if things start working better.

Re: [Script] WME RA Util

PostPosted: Wed Nov 16, 2016 2:36 pm
by oldbeeg
Disabling Toolbox did the trick. Thanks!

Re: [Script] WME RA Util

PostPosted: Wed Nov 16, 2016 2:44 pm
by vince1612
I tried to leave this script ON with Toolbox OFF and this time had no problems.

Re: [Script] WME RA Util

PostPosted: Wed Nov 16, 2016 5:11 pm
by BehnamNHappy
Worked for me after disabling toolbox, very useful, thanks.

Re: [Script] WME RA Util

PostPosted: Sat Nov 19, 2016 7:06 pm
by bz2012
When will the 'resize' feature be enabled?

Re: [Script] WME RA Util

PostPosted: Sat Nov 19, 2016 8:23 pm
by JustinS83
The ability to adjust the diameter will be available in the next week or two. My daughter was born last night so I will be a bit preoccupied for the next week or so :)