Search and "translate the simulation interface" buttons
Eduardo Garcia
13 Posts
Hello:
I have seen that EJS has a "translate the simulation interface" button which I do not know how to use, and I haven't found it referenced in any guide I have found available on the internet. I see it is for defining string in another language, but how does it work? How can the user change language if different language are available? Does someone know the functionality of this button?
Also, when I right-click the "Search" button on the toolbar to the right I get the following search options:
Search String Search for inspectors with errors Show property inspector when errors occur
Re: Re: Search and "translate the simulation interface" buttons -
Eduardo Garcia
13 Posts
I feel a little silly I did not see that video when I searched this site! Thank you!
Now the only thing I do not understand is the search button options I mentioned in the opening post. If someone can explain them to me I will be very thankful!
Re: Search and "translate the simulation interface" buttons -
Francisco Esquembre
237 Posts
Eduardo,
If you use a Model variable to link it to a property of a View element and then change the name of this variable, this immediately causes a side-effect error in the View because the original variable does not exist.
EJS will complain and display all the property inspectors where this variable is used and show the variable with a pink background, for you to know.
This can be a nuisance if you are renaming many of your variables. So, you can switch off this feature unchecking the "Show property when errors occur". Then, EJS will not display the inspector at each error.
When you are done changing all the names, you may wonder what old variables are still there. You then choose "Search for inspectors with errors" and this will bring in all the property inspectors with variables that are no defined in the Model.
(Notice, however, that it is legal to use variables in the view that are NOT defines in the model... This seemed to me a good idea when I first designed EJS, but I discourage it!)
Re: Re: Search and "translate the simulation interface" buttons -
Eduardo Garcia
13 Posts
Hello, I have another quick question:
I was seeing the EJS options tab and there is a option, "Show the experiments panel", which makes an experiments panel appear on the main EJS program window. I wanted to ask you, what is this panel for? I have never noticed this panel before...I searched for it in google and in the EJS wiki, but found nothing about it...can you explain to me what this page can do please?
Re: Re: Re: Search and "translate the simulation interface" buttons -
Francisco Esquembre
237 Posts
Oops! You were not supposed to see this option!
This is part of a hidden part of EJS which is still under development. We are resuming this work which will allow to use a simulation as a complete subroutine.
For instance, suppose you want to run a simulation 100 times with different initial conditions and then compare the results. This "Experiments" panel should allow you to do this...
But, as I say, it is still under development. I'll try to hide this option. Please ignore this option.