I have something like this in my notebook (SystemModeler is not running):
Needs["WSMLink`"] SetDirectory[NotebookDirectory] (* "F:\\WMath\\DCmotor" *) model = "DCmotor"; WSMModelData[model, "Diagram"]
WSMLink::nomod: The class DCmotor was not found.- !!!!!!
But when I run SystemModeler and only load my model everything is ok. That is not the case when I use models from SystemModeler examples. The question is: how to show Mathematica where my *.mo file is without launching SystemModeler?