Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Exporting to DFX from method
Posted 2021年6月15日 GMT-4 09:34 0 Replies
Please login with a confirmed email address before reporting spam
I have written an application in comsol which generates a number of different geometries to test. Aside from simulating them in comsol, I would like to evaluate these geometries in a different software which can import files with a DFX format.
To do this I am trying to export the geometries individually from the application using
model.component("comp1").geom("geom1").exportFinal("D:\\export folder\\file name.dfx");
which is also the code that is recorded when exporting using the "record code" feature.
However, while exporting manually does not result in any problems, running the method results in the following error:
Failed to create file -File: D:\export folder\file name.dfx"
If anyone could point me towards a solution to this error that would be much appreciated. I suppose it may have something to do with the permissions of the application/method.
Hello J. Rietveld
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.