In that case you can use the model ID. Please note that your suggestion wouldn't necessarily solve the problem since a task can have two models with the same name in the same task in the same project...
yeah, I mean I need to get the model to get its ID, but I need to get ID to get the model
CostlyOstrich36 nice! thank you
Also how about this
How is the model saved?
Searching by model ID is good idea, but how do I fetch it from the code? In principle, InputModels are rarely defined automatically, so I could look up for the ID manually...
hm, ok, and what model will be fetched in this case?