This line below from Etabs API receives 6 coordinates in Parentheses and adds a element in that coordination of model:

SapModel.LinkObj.AddByCoord( ) like this SapModel.LinkObj.AddByCoord(Xi,Yi,Zi,Xj,Yj,Zj)

i want to import & put specific row from excel with that 6 array i want to have it like this :

instance : SapModel.LinkObj.AddByCoord(1.5 ,0 ,3 ,1.5 ,0 ,6) What should i do ?

i tried this didn't work

import pandas as pd SapModel.LinkObj.AddByCoord(pd.read_excel("D:\Thesis\Model\coordinate.xlsx",sheet_name="Sheet1",header=None,na_values=["NA"],usecols="A:F",skiprows=range(0),nrows=1))

More Reza Sharifi's questions See All
Similar questions and discussions