8 comments
I don't know if there is a tutorial... but did you try the user guide? It helped me a lot.

https://confluence.jetbrains.com/display/MPSD32/SModel+language
0
Thank you Zappl. Can you please tell the way to practice?
0
Hmm... could you precise your question a bit? There are probably a million ways to practice the SModel language. ;-)
0
Yes. We run the code and get the result in programming languages like C, Java. Likewise, I want to see the result.
0
Say I have made a GUI for a user to configure a car.    The user could pick 'Ford' from a listbox of automobile makes.   This selection would then change the values they could pick for the model to only be models that Ford produces.   Say they pick 'Focus' for the model.
0
The user could pick 'Ford' from a listbox of automobile makes. This selection would then change the values they could pick for the model to only be models that Ford produces.
0
Hi, I am able to write small model using SModel Language to access Models/Nodes but if i run below model I am getting Null Pointer Exception. Any Idea how do I resolve this


public class ModelListener {
   
   
  public static void main(string[] args) {
    model/Constants.sandbox/.nodes(<all>).get(0);
      
      
  }
}

Constants is name of Project for which I want to access nodes from sandbox Model

Cheers
Kunal
0
Schuler is a senior at North Medford High and, as one might expect, he is getting the absolute most out of his final high school days. On Tuesday, he won the Southwest Conference golf championship.
0

Please sign in to leave a comment.