Open a RFEM file, modify, safe the file under a new name and close it #355
|
Hi! Everything I want to do seems easy, except for the fact, that I can not open the file. My plan was to use the 'openFile' function. What do I need to change in order to open the file? |
Replies: 1 comment 10 replies
Hey @tobiasneulichedl, I understood your issue. You are using from RFEM.initModel import Model, openFile, saveFile, connectToServer
from RFEM.BasicObjects.node import Node
connectToServer() # or use 'Model()'
openFile('model_path/model_name.rf6')
Node(15, 15,0,0)
saveFile('model_path/new_model_name.rf6')
closeModel('new_model_name.rf6')Let us know if it works for you or not. |
Hey @tobiasneulichedl,
Thank you for sharing. I have corrected the file path. You can use any of the methods for assigning file path from below code.
Please make sure that you put your python file and .rf6 file in same r…