CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Ansys Scripting - absolut vs. relative Path

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2016, 10:29
Default Ansys Scripting - absolut vs. relative Path
  #1
Member
 
Charles K.
Join Date: Feb 2016
Location: Germany
Posts: 37
Rep Power: 10
McCharles is on a distinguished road
Hello everyone,

I'm currently trying to adapt a CFD-Post Script that i recorded in order to save a multitude of Screenshots of my Model. Everything works fine except for the saving part of the script.

During the session, CFD-Post recorded the absolut file-paths while saving the screenshots. As I want to use this Script for different cases with different directory names, I want to change the absolut path to a relative/polyvalent path in order to save the screenshots in the directory of the current cases.

Does anyone have an idea how to do that?

Thanks in advance!
Charles
McCharles is offline   Reply With Quote

Reply

Tags
ansys, path, relative, scripting


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 09:10
Can you help me with a problem in ansys static structural solver? sourabh.porwal Structural Mechanics 0 March 27, 2016 17:07
Relative Path for Power Syntax hxaxtma CFX 1 February 18, 2015 14:42
Relative path for filenames Elrohir FLUENT 0 January 24, 2013 13:03
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43


All times are GMT -4. The time now is 14:15.