I try to use the function loadModel in plantsimulation in 14.1 with -TrustModels option
so I use this method:
But when loadModel is executed I have an error => Access to the computer is prohibited. See "File > Model Settings > General > Prohibit access to the computer"
The prohibited option is set for a model so when there is no model loaded prohibited is set to true.
How can i use loadModel function in plantSimulation if I can't acces to the computer when no model is loaded ?
Solved! Go to Solution.
I think we were too strict about loadModel. I do not see a reason why loading a model should be prohibited if access to the computer is not permitted. The autoexec methods cannot do harmful things as long as the model is not signed with your trust ID (i.e. the model was not saved by you) − unless you start Plant Simulation with -TrustModels.
We will allow loadModel in future maintenance packs.