|July 15, 2013, 07:49||
Help with Macros. Help needed. Thanks.
Join Date: May 2013
Posts: 12Rep Power: 4
can please sombody help me with this?
How can i define that the macro should import from/save to a relative path?
ImportCadFileFeature importCadFileFeature_0 =
cadModel_0.importCadFile(resolvePath("E:\\Bachelor arbeit\\Makro\\Geometrie\\3D mit Ausguss\\Beh\u00E4lter_mitT\u00FClle.x_t"), true);
depending on the workstation i use the correct path changes for example
what would be the correct command so that star cmm+ imports the cad from a relative path?
|July 15, 2013, 13:15||
Join Date: Mar 2009
Location: Bellingham, WA
Posts: 21Rep Power: 8
I'm definitely not a great java guy, but in linux I create a string that represents the fully qualified path of where ccm+ was started up:
String tempDir = new File(".").getAbsolutePath();
I'll then do some string manipulation to get a String that represents where I want to get and/or put stuff.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Waves2Foam Related Topics||ngj||OpenFOAM Running, Solving & CFD||1062||September 25, 2015 09:52|
|Installing swak4Foam to OpenFOAM in mac||Kaquesang||OpenFOAM Installation on Windows, Mac and other Unsupported Platforms||22||January 21, 2013 12:51|
|compiling firefoam||Farshad_Noravesh||OpenFOAM||27||December 24, 2012 05:21|
|Some guidance is needed about UDF macros||highhopes||Fluent UDF and Scheme Programming||2||July 3, 2012 09:41|
|What are UDF macros C_T_S , C_T_AP,...????||Asghari||FLUENT||0||January 28, 2007 11:54|