|
[Sponsors] |
How to get the absolute path of the currently opened SIM file with a Java macro |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 7, 2024, 03:59 |
How to get the absolute path of the currently opened SIM file with a Java macro
|
#1 |
New Member
miley maruyama
Join Date: Jan 2024
Location: Japan
Posts: 2
Rep Power: 0 |
I know this is a very elementary question, but I can't find a way...
Please someone help me with my stupidity. I was able to use "resolvePath()" to get the path where the macro is located, but I am unable to get the path of the open sim file. Thank you in advance. |
|
August 8, 2024, 18:24 |
|
#2 |
Senior Member
Join Date: Apr 2009
Posts: 159
Rep Power: 17 |
simulation_0.getSessionDir()
For additional details, see: https://support.sw.siemens.com/en-US...00033481_EN_US |
|
August 20, 2024, 23:11 |
|
#3 |
New Member
miley maruyama
Join Date: Jan 2024
Location: Japan
Posts: 2
Rep Power: 0 |
Thank you for your help!
You have helped me achieve my goals. You really helped me. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 36 | July 16, 2024 03:52 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 19:43 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 17:18 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |