BahnLand Posted November 25, 2016 Share Posted November 25, 2016 Hallo Neo, wäre es möglich, auf de rAnzeige-Seite für die Variablen in der Ereignisverwaltung einen zusätzlichen Button "Alle löschen" (vielleicht unterteilt für globale und Objekt-Variable) anzubieten, und zusätzlich das gleichzeitige Markieren von mehreren zu löschenden Variablen zuzulassen? Hintergrund: Auf meiner Gotthard-Anlage setze ich momenten 670 Variablen (Tendenz steigend) ein. Bei einer "Bereinigung" muss ich hier jede einzelne Variable separat anklicken, um sie dann einzeln mithilfe des Löschen-Buttons in der Ecke rechts oben (die "Entfernen-Taste" spricht in diesem Fenster nicht an) löschen zu können. Möchte ich auf diese Weise alle Variablen entfernen, bin ich damit mindestens 1 Stunde beschäftigt. Viele Grüße BahnLand Link to comment Share on other sites More sharing options...
trevor Posted November 25, 2016 Share Posted November 25, 2016 Hi Bahnland, You may want to use my plug-in for that. Latest version also allows you to export and import a CSV file for/from a spread sheet. Best regards Trevor PS: Don't forget to backup before and save after testing. MBS_Variable_Editor_20161115_1156.zip Link to comment Share on other sites More sharing options...
BahnLand Posted November 25, 2016 Author Share Posted November 25, 2016 Hello Trevor, thank you very much for this great plug-in. It works excellent with global variables. But to see object variables, I must select every time the specific object. Would it be possible for you to display also a "collected list" of all object variables, so that also these ones can be selected in whole for deletion? In addition, I have got an error when trying to disconnect the plug-in from the TrainStudio layout: When clicking to the disconnect button in the plug-in, the event error in the lower message occurs, and the plug-in will be closed with the upper message. Best regards BahnLand Link to comment Share on other sites More sharing options...
trevor Posted November 25, 2016 Share Posted November 25, 2016 (edited) It should load everything when you first start. It only shows the globals first though by default. Learn to use the search functions, they are quite powerful. Note there are three text entry boxes to search the name of the object, variable or variable value. If you have a common variable name on lots of objects, search for that in the middle search box. Also. you can select multiples in each column further refining what gets listed. If you really want everything, select everything in the first two lists (except the specials in the type list) And yes, disconnect handling may be a bit off. I usually just close the window. Disconnect does not do much anyway. Edited November 25, 2016 by trevor Link to comment Share on other sites More sharing options...
BahnLand Posted November 25, 2016 Author Share Posted November 25, 2016 Hello Trevor, many thanks for this additional information. I will try it tomorrow. Many greetings BahnLand Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now