fracture_point
Structural
- Mar 7, 2019
- 58
I'm writing some code to draw gridlines through the API using Python, but for some reason the ETABS model does doesn't reflect the data. There is no error showing in my console so it seems like the code passes.
This is based on the CSI API info:
Is anyone able to identify my issue?
Code:
xGrids = [0,5,15]
yGrids = [0,5,15]
xGridNames = ["1","2","3"]
yGridNames = ["A","B","C"]
xVisible = [True,True,True]
yVisible = [True,True,True]
xBubbleLoc = ["Start", "Start", "Start"]
yBubbleLoc = ["Start", "Start", "Start"]
SapModel.GridSys.GetGridSys_2("G1",0,0,0,"Cartesian",3,3,xGridNames,yGridNames,xGrids,yGrids,xVisible,yVisible,xBubbleLoc,yBubbleLoc)
This is based on the CSI API info:
Code:
int GetGridSys_2(
string Name,
ref double Xo,
ref double Yo,
ref double RZ,
ref string GridSysType,
ref int NumXLines,
ref int NumYLines,
ref string[] GridLineIDX,
ref string[] GridLineIDY,
ref double[] OrdinateX,
ref double[] OrdinateY,
ref bool[] VisibleX,
ref bool[] VisibleY,
ref string[] BubbleLocX,
ref string[] BubbleLocY
Is anyone able to identify my issue?