I created a 3D raft model on plaxis3d. The raft must transfer structural loads by point loads which are reperesents base stroy columns. Structural loads obtained from a different CAE (SAP2000). In that case all loads must be assign one by one and requires autonomous way. Therefore I need a python script which [tag:selects existing point load] and assign them loads read from a txt file which is obtained from another CAE (SAP2000) software.
I made a code by pycharm. Let me share it to you:
import subprocess, time
from plxscripting.easy import *
PLAXIS_PATH = r"C:\Program Files\Seequent\PLAXIS 3D 2023.2\Plaxis3DInput.exe"
FILE_PATH = r'C:\Siyahkalem\Plaxis3D\python deneme\python_deneme.p3d'
PORT_i = 10000
PORT_i = 10001
PASSWORD = 'V??kBcQeiiv!5w?v'
subprocess.Popen([PLAXIS_PATH, f"--AppServerPort={PORT_i}", f"AppServerPassword={PASSWORD}"])
#from plaxis.plaxutil.command import Command
time.sleep(5) #wait till plaxis boot finish
s_i, g_i = new_server('localhost', PORT_i, password=PASSWORD)
s_o, g_o = new_server('localhost', PORT_i, password=PASSWORD)s_i.open(FILE_PATH)
g_i.gotostages()
g_i.pointload(60)
all codes works well except "g_i.pointload(60)". I was expecting this row to select the "PointLoad_60_1" which is exist on my Plaxis3d model I created. But I doesn't work. Could you please help me.
thank you.
I find another code
instead
But I get error
Even PointLoad_26_1 is exist.